From 0a87ba0e392ca890111d4ed7262e65c170751cb5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Jun 2025 13:09:57 +0200 Subject: [PATCH] Prevent double copy of nixpkgs source tree --- docker.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker.nix b/docker.nix index c418a9e62..e3a0635d0 100644 --- a/docker.nix +++ b/docker.nix @@ -173,7 +173,12 @@ let channel = pkgs.runCommand "channel-nixos" { inherit bundleNixpkgs; } '' mkdir $out if [ "$bundleNixpkgs" ]; then - ln -s ${nixpkgs} $out/nixpkgs + ln -s ${ + builtins.path { + path = nixpkgs; + name = "source"; + } + } $out/nixpkgs echo "[]" > $out/manifest.nix fi '';