qt5.base: install setupHook correctly
This commit is contained in:
parent
bb6459dd0b
commit
3f3da5ccbd
1 changed files with 3 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue