d3f3890dc5
Initial commit of a Haskell version of Xanthous, written using Brick and built with Nix. This is so much nicer and so much easier
10 lines
265 B
Bash
Executable file
10 lines
265 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")" || exit 1
|
|
|
|
argv=( "$@" )
|
|
argv=( "${argv[@]/\'/\'\\\'\'}" )
|
|
argv=( "${argv[@]/#/\'}" )
|
|
argv=( "${argv[@]/%/\'}" )
|
|
|
|
exec nix-shell --pure --run "exec $(nix-build -o dist/nix/hie -A hie)/bin/hie ${argv[*]}"
|