-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
nix run
unsets TMPDIR
on macOS
#7731
Comments
roberth
added a commit
to hercules-ci/nix
that referenced
this issue
Feb 1, 2023
This code is bad. We shouldn't unset variables in programs whose children may need them. Fixing one issue at a time, so postponing. See NixOS#7731
10 tasks
roberth
added a commit
to hercules-ci/nix
that referenced
this issue
Feb 3, 2023
This code is bad. We shouldn't unset variables in programs whose children may need them. Fixing one issue at a time, so postponing. See NixOS#7731
roberth
added a commit
to hercules-ci/nix
that referenced
this issue
Feb 5, 2023
This code is bad. We shouldn't unset variables in programs whose children may need them. Fixing one issue at a time, so postponing. See NixOS#7731
roberth
added a commit
to hercules-ci/nix
that referenced
this issue
Feb 5, 2023
This code is bad. We shouldn't unset variables in programs whose children may need them. Fixing one issue at a time, so postponing. See NixOS#7731 Part of an effort to make it easier to initialize the right things, by moving code into the appropriate libraries.
roberth
added a commit
to hercules-ci/nix
that referenced
this issue
Apr 7, 2023
This code is bad. We shouldn't unset variables in programs whose children may need them. Fixing one issue at a time, so postponing. See NixOS#7731 Part of an effort to make it easier to initialize the right things, by moving code into the appropriate libraries.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
initNix()
clears an environment variable. It shouldn't.Steps To Reproduce
Expected behavior
Darwin:
Linux (already works, but the variable isn't even set in my session NixOS):
nix-env --version
outputAdditional context
Potential duplicate of #395, although the solution hinted here does not have as broad a scope.
Found while working on a PR to be linked below.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: