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

Stack usage #10295

Closed
Pitometsu opened this issue Oct 9, 2015 · 3 comments
Closed

Stack usage #10295

Pitometsu opened this issue Oct 9, 2015 · 3 comments
Labels
0.kind: question Requests for a specific question to be answered 6.topic: haskell

Comments

@Pitometsu
Copy link

What is the proper way to use the stack on NixOS?
I eventually got some errors with libgmp.so.10 after one of regular system upgrade.

@peti
Copy link
Member

peti commented Oct 9, 2015

Please post a complete log that shows the error messages you're getting. Also, make sure to read http://nixos.org/nixpkgs/manual/#using-stack-together-with-nix.

@peti peti added 0.kind: question Requests for a specific question to be answered 6.topic: haskell labels Oct 9, 2015
@Pitometsu
Copy link
Author

With stack --extra-lib-dirs=/nix/store/2w6z5pijhqj6v40mwc31wqclji666n8g-gmp-5.1.3/lib build all right. But cat I do it without this hardcode?
UPD: fixed by

$ cd ; nix-channel --update ; ln -s /nix/var/nix/profiles/per-user/netsu .nix-profile

May I broke it by deleting .nix* in ~?

@peti
Copy link
Member

peti commented Oct 10, 2015

I suppose that the problem is now fixed. If there is still something that doesn't work, then please submit a complete log that shows the command you're running plus the whole output that command produces.

@peti peti closed this as completed Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: question Requests for a specific question to be answered 6.topic: haskell
Projects
None yet
Development

No branches or pull requests

2 participants