updating $NIX_PATH to a correct setting
This commit is contained in:
parent
28ff22dbd7
commit
71335a95d2
1 changed files with 5 additions and 3 deletions
|
@ -10,11 +10,13 @@
|
||||||
registry.nixpkgs.flake = nixpkgs;
|
registry.nixpkgs.flake = nixpkgs;
|
||||||
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
||||||
|
|
||||||
# but NIX_PATH is still used by many useful tools, so we set it to the same value as the one used by this flake.
|
nixPath = [ "nixpkgs=${nixpkgs}" ];
|
||||||
# https://github.com/NixOS/nix/issues/9574
|
|
||||||
settings.nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs";
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
# but NIX_PATH is still used by many useful tools, so we set it to the same value as the one used by this flake.
|
||||||
|
# https://github.com/NixOS/nix/issues/9574
|
||||||
|
nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs";
|
||||||
|
|
||||||
# Enable flakes
|
# Enable flakes
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|
Loading…
Reference in a new issue