-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Start fails on Nixos #455
Comments
I think your configuration is correct; I think the problem might be an oversight in the tools-creation logic. As a stopgap, you could use a feature coming in the next release that will allow you to build your tools separately and specify their paths directly in the plugin options. |
Here's the PR if you'd like to follow it: #454 (comment) |
Stack's nix integration is not without flaws. You can try to add I have not so good experience with stack it's nix integration, especially not on macOS. Btw, you can better use nix and cabal new style. But yes, the plugin does not support that yet. It's on my wish list and did already some preparations. |
Please reopen if still an issue. |
I guess this can be closed as we now can explicitly pass tool paths rather than relying on the plugin installing them, thank you 😄 |
Thanks for the confirmation. Eventually the plugin should support Cabal/Nix projects but that's a separate issue 😄 |
Hi,
I just recently started using Nixos and tested my workflow with Intellij and Haskell on it.
When importing for the first time a Haskell project in Intellij, it installs many tools using this command:
However this fails as it requires Zlib which requires special Stack integration.
The command is successful if I manually type it in a terminal and add
--nix-packages "zlib"
option to it:Have I missed something (this is completely possible as I'm a huge noob in Nix/Nixos)? Or is something missing for Nixos use?
Note, in my project
stack.yaml
it was correctly configured:Cheers!
The text was updated successfully, but these errors were encountered: