Project won't build when using a dependency installed using nix
See original GitHub issueHello,
First of all I think this plugin is awesome. It provides a lot of cool features, and even if I struggled to get it to work at the begining, it was working like a charm so far, so thank you for the amazing work !
I am working on an llvm project right now. I need to use llvm-6.0 for that, and I needed nix to get this specific package.
My whole project is working just fine, all the plugin’s options work. However, since I added llvm, the plugin goes crazy, and spams me with messages like
[global-stack-repl] Stack REPL couldn't be started within 5 seconds
The first error message is
Project won't be built because building its dependencies failed
so I guessed that my llvm dependency broke it all.
My stack.yaml:
resolver: lts-12.18
packages:
- .
extra-deps:
- llvm-hs-6.0.0
- llvm-hs-pure-6.0.0
flags:
llvm-hs:
shared-llvm: true
nix:
enable: true
packages: [llvm_6]
My dependencies in the package.yaml (only thing I changed in the file):
dependencies:
- base >= 4.7 && < 5
- llvm-hs
- llvm-hs-pure
- bytestring
In short, none of the plugin’s features work since I added that llvm-6.0 dependency via nix to the project.
Issue Analytics
- State:
- Created 4 years ago
- Comments:70 (37 by maintainers)
Top GitHub Comments
Wow, it is working now!
I still need to set the PATH variable to
but if that is set, together with the other variables
Everything is actually running fine! The only thing now not functionnal is the documentation, but that did not work before this llvm issue, so it is another issue.
Thanks a lot for all the support and help you provided and the time you invested on resolving this issue!
Btw, released beta63 with again improvements