nix-pills icon indicating copy to clipboard operation
nix-pills copied to clipboard

Chapter 15: NIX_PATH is no longer defined by default on non-NixOS

Open noamraph opened this issue 1 year ago • 0 comments
trafficstars

Regarding https://nixos.org/guides/nix-pills/15-nix-search-paths#the-path-to-repository

Now NIX_PATH has a default. The document says to echo $NIX_PATH, but now it's no longer set by default. And this is no longer correct:

The NIX_PATH variable is exported by nix.sh, and that's the reason why I always asked you to source nix.sh at the beginning of my posts.

Configuration reference: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-nix-path

noamraph avatar Apr 14 '24 19:04 noamraph