diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 04:49:56 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | 25382a37e38d92113ae671f0f2d6f1be9045015e (patch) | |
tree | 68ef9f44c4a431bde18d7d012b1c1e24e52f0b7c /pkgs/development/libraries/accounts-qt | |
parent | 9cfc8d94bb22000d1b648066c3d8b580f27d1271 (diff) | |
download | nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.gz nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.bz2 nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.lz nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.xz nixlib-25382a37e38d92113ae671f0f2d6f1be9045015e.tar.zst nixlib-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.nix | 2 |
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 e2e5f079606b..e82d37f1d3c7 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; { |