1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

Prevent double copy of nixpkgs source tree

(cherry picked from commit 0a87ba0e39)
This commit is contained in:
Eelco Dolstra 2025-06-05 13:09:57 +02:00 committed by Mergify
parent bab4e58a5e
commit 63f18cd0c6

View file

@ -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
'';