I've installed Haskell using the "batteries included" official version, which includes GHCi and Cabal. I then followed the recommended guidelines for installing Leksah, first installing Nix (with curl
, as recommended), then downloading Leksah from the Git repository and running ./leksah-nix.sh ghc843
. Basically, I've done nothing unusual, but I get this error:
joshf:leksah joshfriedlander$ ./leksah-nix.sh ghc843
./leksah-nix.sh: line 20: nix-build: command not found
./leksah-nix.sh: line 21: /bin/ghc: No such file or directory
./leksah-nix.sh: line 22: nix-build: command not found
./leksah-nix.sh: line 48: /bin/launch-leksah: No such file or directory
Is it not finding nix-build
? Should I move it? Is there something obvious I'm missing?
Specs: I'm using an MBP with Mojave 10.14.2.