qt5.base: install setupHook correctly

This commit is contained in:
Thomas Tuegel 2015-07-19 13:38:51 -05:00
parent bb6459dd0b
commit 3f3da5ccbd

View file

@ -172,12 +172,11 @@ stdenv.mkDerivation {
# Don't retain build-time dependencies like gdb and ruby.
sed '/QMAKE_DEFAULT_.*DIRS/ d' -i $out/mkspecs/qconfig.pri
mkdir -p "$out/nix-support"
substitute ${./setup-hook.sh} "$out/nix-support/setup-hook" \
--subst-var out --subst-var-by lndir "${lndir}"
'';
inherit lndir;
setupHook = ./setup-hook.sh;
enableParallelBuilding = true; # often fails on Hydra, as well as qt4
meta = {