1
0
Fork 1
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:
Nikolay Amiantov 2017-01-10 01:06:37 +03:00
parent 7ee897a3b3
commit 8422cef099

View file

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