summary refs log tree commit diff
path: root/pkgs/development/libraries/accounts-qt
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-15 04:49:56 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-15 05:26:02 +0200
commit25382a37e38d92113ae671f0f2d6f1be9045015e (patch)
tree68ef9f44c4a431bde18d7d012b1c1e24e52f0b7c /pkgs/development/libraries/accounts-qt
parent9cfc8d94bb22000d1b648066c3d8b580f27d1271 (diff)
downloadnixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.gz
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.bz2
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.lz
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.xz
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.zst
nixpkgs-25382a37e38d92113ae671f0f2d6f1be9045015e.zip
accounts-qt: Fix running of {pre,post}Configure
Commit 0055c6a introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of accounts-qt
override the whole configurePhase, so this hook isn't run at all.

This fixes the build of accounts-qt and it now successfully compiles on
my machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/libraries/accounts-qt')
-rw-r--r--pkgs/development/libraries/accounts-qt/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix
index e2e5f079606..e82d37f1d3c 100644
--- a/pkgs/development/libraries/accounts-qt/default.nix
+++ b/pkgs/development/libraries/accounts-qt/default.nix
@@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ doxygen pkgconfig ];
 
   configurePhase = ''
+    runHook preConfigure
     qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake
+    runHook postConfigure
   '';
 
   meta = with stdenv.lib; {