1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Merge pull request #13326 from NixOS/no-double-copy

docker.nix: Prevent double copy of nixpkgs source tree
This commit is contained in:
Jörg Thalheim 2025-06-06 10:09:31 +02:00 committed by GitHub
commit 540db8036d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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