-
Notifications
You must be signed in to change notification settings - Fork 175
Supporting Nix. #120
Comments
This issue may be relating to: NixOS/nixpkgs#213 |
Sorry for not replying earlier. I'm aware that the current solution in Nix is not optimal, but |
I have ghc-mod installed with nix & it wasn't working for me (which is why I talked to @kazu-yamamoto). @kosmikus what do you have NIX_GHC & NIX_GHC_LIBDIR set to ? where can I get more docs/info? |
These env-vars are not really documented. There's some discussion in NixOS/nixpkgs#213 that Kazu had listed above. We're not sure that this is the "right" solution, but I can't seem to think of a much better one right now. Regarding my configuration. I have a GHC environment using GHC and other packages in my
I then install I ensure the
However, with
I get
If you have multiple profiles containing different GHCs, it's not necessary that the ghc-mod is in the same profile as the one that |
Awesome. I have the same setup except mine's called haskellEnv instead of myHaskell. |
ghc-mod should work fine with Nix these days. Users of 'ghcWithPackages' might want to add the following snippet to
|
Nice! |
ghc-mod does not work on Nix.
https://gist.github.com/dysinger/5379845
The text was updated successfully, but these errors were encountered: