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
pkgs.lib.inNixShell giving false positives #9438
Comments
Workaround is to clear |
I have no idea how to improve that situation from the Haskell/cabal2nix side, I'm afraid.
The only way to avoid that issue, IMHO, is to make sure that no |
Another would be for |
How about introduce another variable (eg: |
Closing as this is something that nixops should handle. |
This hit me today too, nixops accidentally evaluating |
@Zimmi48 and I have been discussing exactly this problem. In summary: we would like to use One solution might be to have some sort of |
Are there any uses of |
I was deploying a haskell app with nix-shell -p nixopsUnstable using following command:
and clearly haskell default.nix wanted to build
.env
because I was in nix-shell. Not really sure how to approach this, but just making sure we have an issue for it.cc @peti
The text was updated successfully, but these errors were encountered: