3
0
Fork 0
forked from mirrors/nixpkgs

qmltermwidget: Fix running of {pre,post}Configure

Commit 0055c6a introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of qmltermwidget
override the whole configurePhase, so this hook isn't run at all.

This fixes the build of qmltermwidget and it now successfully compiles
on my machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-15 03:44:57 +02:00
parent 5c7131213e
commit 2d6ea2cc30
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
--replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
'';
configurePhase = "qmake PREFIX=$out";
configurePhase = ''
runHook preConfigure
qmake PREFIX=$out
runHook postConfigure
'';
installPhase=''make INSTALL_ROOT="$out" install'';