mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
kdeWrapper: postpone /share linking till final buildEnv
This commit is contained in:
parent
7ee897a3b3
commit
8422cef099
|
@ -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 a new issue