mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Prevent double copy of nixpkgs source tree
This commit is contained in:
parent
2afc84fddf
commit
0a87ba0e39
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue