You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: