Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in doco for hie-nix pinning per project #7

Open
benkolera opened this issue Nov 20, 2018 · 0 comments
Open

Add in doco for hie-nix pinning per project #7

benkolera opened this issue Nov 20, 2018 · 0 comments

Comments

@benkolera
Copy link
Owner

I installed hie-nix globally and got surprised when my hie in spacemacs broke on a haskell project pinned to an older nix pkgs than my nixos environment. Code compiled with ghc-8.4.3 cannot be read by a ghc-8.4.4 hie.

If you are pinning nixpkgs for a project, you want to pin hie-nix for a project. If all of your haskell packages just use the system nixpkgs installing globally should usually be fine (except when hie-nix is just behind nixpkgs. Unless hie-nix started producing hie-8.4.4. binaries as well as the hie-8.4 that it does now. hie-wrapper would do the right thing if hie-nix did that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant