qtpass: Fix running of {pre,post}Configure
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of qtpass override
the whole configurePhase, so this hook isn't run at all.
This fixes the build of qtpass and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
38d5c07b14
commit
0cfff33f59
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ git gnupg makeQtWrapper pass qtbase qtsvg qttools ];
|
||||
|
||||
configurePhase = "qmake CONFIG+=release PREFIX=$out DESTDIR=$out";
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake CONFIG+=release PREFIX=$out DESTDIR=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out/bin
|
||||
|
|
Loading…
Reference in a new issue