-
Notifications
You must be signed in to change notification settings - Fork 843
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
fix(#5008): "Invalid option --internal-re-exec-version" 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 #5131
Conversation
…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
updated, tnx
yes, I have mentioned that this is one of possible ways to overcome this issue #5008 (comment) |
@srghma I think it would be good to remove setting |
what do you mean? |
See line Line 79 in e12c4f0
|
ah, you want me to change
to something like
|
@srghma just dropping that line 79 would be enough if we need to set this var anyway |
…on" error when using "nix" with options "enable: true", "pure: true", "shell-file: .." -> dont set inNixShellEnvVar second time if shell.nix is not used
added |
Thanks, let's now wait for CI to pass. |
Thanks for your efforts @srghma but I think now I understand Nix integration a bit better and it looks like I was wrong in my previous ideas and this PR isn't actually need. As it's said in the docs you need to use |
ok, agree, thanks to you too |
fixes ##5008
I've run this on srghma/generate-all-tests@50630d2
here is the output