mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #21771 from abbradar/kde-wrapper
kdeWrapper: postpone /share linking till final buildEnv
This commit is contained in:
commit
127b2fc7d8
@ -61,13 +61,9 @@ stdenv.mkDerivation {
|
||||
fi
|
||||
done
|
||||
|
||||
ln -s "$env/share" "$out"
|
||||
|
||||
mkdir -p "$out/nix-support"
|
||||
for drv in $unwrapped; do
|
||||
if [ -a "$drv/nix-support/propagated-user-env-packages" ]; then
|
||||
mkdir -p "$out/nix-support"
|
||||
cat "$drv/nix-support/propagated-user-env-packages" >> "$out/nix-support/propagated-user-env-packages"
|
||||
fi
|
||||
echo "$drv" >> "$out/nix-support/propagated-user-env-packages"
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user