Skip to content

2.26.2-1 does not correctly add ~/.nix-profile to $PATH

Description:

The 2.26.2-1 build of nix does not correctly install its profile.d scripts into /etc/profile.d, leading to ~/.nix-profile not being automatically added to $PATH for users.

Additional info:

  • package version(s): 2.26.2-1

Steps to reproduce:

  1. Update from 2.24.11-11 -> 2.26.2-1
  2. Reboot/Log Out to start a new shell
  3. Observe ~/.nix-profile not being on $PATH and nix-managed programs are unavailable
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information