From cf3f891369655cd30431bd4f2975a46f8adb0167 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:34:31 +0200 Subject: [PATCH] linssid: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of linssid override the whole configurePhase, so this hook isn't run at all. This fixes the build of linssid and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/applications/networking/linssid/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/linssid/default.nix b/pkgs/applications/networking/linssid/default.nix index 76de1d208cc..4cbc5c8c796 100644 --- a/pkgs/applications/networking/linssid/default.nix +++ b/pkgs/applications/networking/linssid/default.nix @@ -27,7 +27,11 @@ stdenv.mkDerivation rec { rm -fr qwt-lib ''; - configurePhase = "qmake linssid.pro"; + configurePhase = '' + runHook preConfigure + qmake linssid.pro + runHook postConfigure + ''; meta = with stdenv.lib; { description = "Graphical wireless scanning for Linux";