mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 00:12:43 +01:00
Rather than using `/nix/var/nix/{profiles,gcroots}/per-user/`, put the user
profiles and gcroots under `$XDG_DATA_DIR/nix/{profiles,gcroots}`.
This means that the daemon no longer needs to manage these paths itself
(they are fully handled client-side). In particular, it doesn’t have to
`chown` them anymore (removing one need for root).
This does change the layout of the gc-roots created by nix-env, and is
likely to break some stuff, so I’m not sure how to properly handle that.
|
||
|---|---|---|
| .. | ||
| nix-channel.cc | ||
| unpack-channel.nix | ||