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
{{ message }}
Repository navigation
nix-env fails when HOME is not set, even if passed a profile path #224
I would expect this to work: env -u HOME nix-env -p /nix/var/nix/profiles/default --list-generations
However, it fails with this error message: error: HOME environment variable not set
In particular, I've seen this problem in NixOS's nix-gc systemd service, which does the following:
Activity
gilligan commentedon Mar 6, 2020
This has meanwhile been fixed
This works as expected on Nix 2.3.3
Merge pull request NixOS#224 from Fuuzetsu/rename-all-deps
doc/inventory: file NixOS#222, NixOS#223, NixOS#224 + record follow-u…
doc/inventory: STATUS — record final post-followup sweep + libmain bu…
doc/inventory: 20 GREEN+YELLOW candidates landed + 4-pass review
doc/inventory: Batch A — strike off branch-correctness amends
libutil/canon-path: add numSegments accessor
libutil/canon-path: add numSegments accessor
doc/inventory: pass-2 review fixes — NixOS#97 path, NixOS#226 fragili…
doc/inventory: pass-3 review — refresh stale SHAs from NixOS#224-rewo…
doc/inventory: manual SHA sweep — fix two stale-as-current citations …