-
Notifications
You must be signed in to change notification settings - Fork 842
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
Invalid option `--internal-re-exec-version=2.1.3.1' #5008
Comments
I have reproduced this error in input-output-hk/haskell.nix#384 (comment) The problem is that
is running two times recursively because |
possible fix IF STACK_IN_NIX_SHELL is present AND nix-shell will be called with pure THEN add e.g.
Update, actually maybe it's better to always to call it with |
The other way is to ask users to add this worked for me too (I'm using haskell.nix)
|
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> prevent entering "nix-shell --pure" recursively by exporting STACK_IN_NIX_SHELL properly
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> prevent entering "nix-shell --pure" recursively by exporting STACK_IN_NIX_SHELL properly
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> prevent entering "nix-shell --pure" recursively by exporting STACK_IN_NIX_SHELL properly
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> prevent entering "nix-shell --pure" recursively by exporting STACK_IN_NIX_SHELL properly
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> dont set inNixShellEnvVar second time if shell.nix is not used
@razvan-flavius-panda I think the problem in your case is (as I said it in #5131 (comment) ) that your shell file doesn't use |
I just run into the same issue again on a different project. |
change
to
|
I did that, and the build progressed further, run into another issue regarding zlib. If anyone wants to give building it a try, it is the branch here: https://github.com/fairy-tale-agi-solutions/haskell-editor-setup/tree/stack-fk |
I see you added zlib to That's right, you can use either If you opt to
to you build inputs I had the impression that |
There is nothing I can do about it currently since it just errors whatever I change, and I dedicated enough time to it. |
I wonder if #5524 fixes this too? |
Steps to reproduce
stack-build-failure
stack build --verbose
Expected
Build to succeed.
Actual
Stack version
Method of installation
Installed using Nix.
The text was updated successfully, but these errors were encountered: