From c0e3d0e72d9d636728a5171511e3ce1003203567 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 10 Apr 2023 20:56:16 +0200 Subject: bump --- system-profiles/core/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'system-profiles/core') 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 { experimental-features = nix-command flakes ''; nixPath = [ - "nixpkgs=${./nixpkgs.nix}" + "nixpkgs=${pkgs.runCommand "nixpkgs" {} '' + mkdir $out + ln -s ${./nixpkgs.nix} $out/default.nix + ln -s /run/nixpkgs/lib $out/lib + ''}" ]; registry = let override = { self = "nixos"; }; -- cgit v1.2.3