From 2d6ea2cc3072f9bd86d655bf7e614d556ee0b339 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 03:44:57 +0200 Subject: [PATCH] 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 --- pkgs/development/libraries/qmltermwidget/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qmltermwidget/default.nix b/pkgs/development/libraries/qmltermwidget/default.nix index 64d8570460cb..359a4341537d 100644 --- a/pkgs/development/libraries/qmltermwidget/default.nix +++ b/pkgs/development/libraries/qmltermwidget/default.nix @@ -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'';