mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 06:01:00 +01:00
otherwise the headings won't match at the point where they are included. this is a bit hacky and brittle, but works for now.
680 B
680 B
User profile link
A symbolic link to the user's current profile.
~/.nix-profile$XDG_STATE_HOME/nix/profileifuse-xdg-base-directoriesis set totrue.
By default, this symlink points to:
$XDG_STATE_HOME/nix/profiles/defaultfor regular users$NIX_STATE_DIR/profiles/per-user/root/profileforroot
The PATH environment variable should include /bin subdirectory of the profile link (e.g. ~/.nix-profile/bin) for the user environment to be visible to the user.
The installer sets this up by default.