git.iko.soy/typeable/nixpkgs
on master help sign in
qt5.base: install setupHook correctly
commit3f3da5ccbde10176a4e634888384bb48c024b337 authorThomas Tuegel <ttuegel@gmail.com> dateSun 19 Jul 2015, 13:38 (11 years ago) parentbb6459d
1 file changed+3−4
pkgs/development/libraries/qt-5/5.4/qtbase.nix+3−4
pkgs/development/libraries/qt-5/5.4/qtbase.nix+3−4
@@ -172,12 +172,11 @@ stdenv.mkDerivation {
172172
173173 # Don't retain build-time dependencies like gdb and ruby.
174174 sed '/QMAKE_DEFAULT_.*DIRS/ d' -i $out/mkspecs/qconfig.pri
175−
176− mkdir -p "$out/nix-support"
177− substitute ${./setup-hook.sh} "$out/nix-support/setup-hook" \
178− --subst-var out --subst-var-by lndir "${lndir}"
179175 '';
180176
177+ inherit lndir;
178+ setupHook = ./setup-hook.sh;
179+
181180 enableParallelBuilding = true; # often fails on Hydra, as well as qt4
182181
183182 meta = {