diff --git a/modules/base.nix b/modules/base.nix index be45478f..9f1423af 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -121,4 +121,6 @@ # make `nix repl ''` use the same nixpkgs as the one used by this flake. # discard all the default paths, and only use the one from this flake. nix.nixPath = lib.mkForce ["/etc/nix/inputs"]; + # https://github.com/NixOS/nix/issues/9574 + nix.settings.nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs"; }