-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
nix run unsets TMPDIR on macOS #7731
Copy link
Copy link
Open
Labels
bugcliThe old and/or new command line interfaceThe old and/or new command line interfacemacosNix on macOS, aka OS X, aka darwinNix on macOS, aka OS X, aka darwinnew-cliRelating to the "nix" commandRelating to the "nix" command
Metadata
Metadata
Assignees
Labels
bugcliThe old and/or new command line interfaceThe old and/or new command line interfacemacosNix on macOS, aka OS X, aka darwinNix on macOS, aka OS X, aka darwinnew-cliRelating to the "nix" commandRelating to the "nix" command
Fields
Give feedbackNo fields configured for issues without a type.
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 --versionoutputAdditional 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.