diff options
Diffstat (limited to 'system-profiles/core')
-rw-r--r-- | system-profiles/core/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index 1368b54f..18a97805 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix | |||
@@ -54,7 +54,11 @@ in { | |||
54 | experimental-features = nix-command flakes | 54 | experimental-features = nix-command flakes |
55 | ''; | 55 | ''; |
56 | nixPath = [ | 56 | nixPath = [ |
57 | "nixpkgs=${./nixpkgs.nix}" | 57 | "nixpkgs=${pkgs.runCommand "nixpkgs" {} '' |
58 | mkdir $out | ||
59 | ln -s ${./nixpkgs.nix} $out/default.nix | ||
60 | ln -s /run/nixpkgs/lib $out/lib | ||
61 | ''}" | ||
58 | ]; | 62 | ]; |
59 | registry = | 63 | registry = |
60 | let override = { self = "nixos"; }; | 64 | let override = { self = "nixos"; }; |