1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Merge pull request #13620 from NixOS/mergify/bp/2.29-maintenance/pr-13326

docker.nix: Prevent double copy of nixpkgs source tree (backport #13326)
This commit is contained in:
mergify[bot] 2025-07-31 02:11:46 +00:00 committed by GitHub
commit ab4951588b
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
'';