[Nix#8508] nix-collect-garbage -d
does not clean up user profiles in XDG directories when run as root #151
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#151
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream-Issue: NixOS/nix#8508
Describe the bug
Expected behavior
home-manager generations are cleaned up on the first
sudo nix-collect-garbage -d
invocation.nix-env --version
outputnix-collect-garbage (Nix) 2.16.1
Additional context
I'm not sure when this started happening, but I feel like it might have something to do with HM switching to XDG paths?
Priorities
Add 👍 to issues you find important.
we don't think this should have shipped as it currently exists. that directory should have been a symlink to /nix/var/nix/profiles/per-user
disposition after discussion with @lunaphied: unship the feature, and replace it with a symlink to
/nix/var/nix/profiles/per-user/USER