about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-15 04:19:11 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-15 05:26:02 +0200
commit0fefa9939e5db2057d9e6418cb68946ca2a12721 (patch)
treec0eaa8039bc48a58418f99ac1697e50f64b12bfa /pkgs/applications/networking/irc
parentee1af147f35818f60d3cd6192a4828abdbfdc632 (diff)
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>
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r--pkgs/applications/networking/irc/communi/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix
index 312fd8df908a9..4d2605acdc9e7 100644
--- a/pkgs/applications/networking/irc/communi/default.nix
+++ b/pkgs/applications/networking/irc/communi/default.nix
@@ -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 = ''