Merge pull request #21771 from abbradar/kde-wrapper

kdeWrapper: postpone /share linking till final buildEnv
This commit is contained in:
Thomas Tuegel 2017-01-09 20:23:01 -06:00 committed by GitHub
commit 127b2fc7d8

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