communi: Fix running of {pre,post}Configure
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of communi
override the whole configurePhase, so this hook isn't run at all.
This fixes the build of communi and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
ee1af147f3
commit
0fefa9939e
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuild = true;
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
export QMAKEFEATURES=${libcommuni}/features
|
||||
qmake -r \
|
||||
COMMUNI_INSTALL_PREFIX=$out \
|
||||
|
@ -25,6 +26,7 @@ stdenv.mkDerivation rec {
|
|||
COMMUNI_INSTALL_ICONS=$out/share/icons/hicolor \
|
||||
COMMUNI_INSTALL_DESKTOP=$out/share/applications \
|
||||
COMMUNI_INSTALL_THEMES=$out/share/communi/themes
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue