mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
679 B
679 B
User profile link
A symbolic link to the user's current profile.
~/.nix-profile
$XDG_STATE_HOME/nix/profile
ifuse-xdg-base-directories
is set totrue
.
By default, this symlink points to:
$XDG_STATE_HOME/nix/profiles/default
for regular users$NIX_STATE_DIR/profiles/per-user/root/profile
forroot
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.