NIXOS-32: read nix-profile.sh in bash profile
In /etc/profile (or similar) $nix/etc/nix/profile.d/nix.sh should be sourced in (where $nix is the prefix of Nix). This takes care of adding ~/.nix-profile/bin to PATH and creating ~/.nix-profile if it doesn’t already exist.
Right now the default profile created by nix-env isn’t in the PATH for this reason.
Probably /etc/profile should be a symlink to a component in the store as well.
Submitted on 30 August 2005 at 21:52
Log in to post comments