To install nix on OSX10.10, I first followed this [nixos.org wiki guide][1] shared by @boothead, and then found [this guide][3] on setting up a haskell environment with nix. See config.nix file below. I made one change from the tutorial, which is to change ghc783 to ghc784 (line 13).
After creating the file ~/.nixpkgs/config.nix
, I skipped the ghc76 stuff and went straight to nix-env -i env-ghc78
. It took a bit more than 2 hrs on an 8gb ram MBA for everything to build and link. The end result says
building path(s) ‘/nix/store/6rcj8chl2vim4mry5k7w8gs7nxifxixc-user-environment’
created 51 symlinks in user environment
Then finally: load-env-ghc78
loaded up a shell from which I could ghci