fix: nix path

This commit is contained in:
Ryan Yin
2024-07-31 14:28:40 +08:00
parent 64ab375d1f
commit 80e0bcf031

View File

@@ -121,4 +121,6 @@
# make `nix repl '<nixpkgs>'` 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";
}