diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 04:06:43 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | 7f4ab1cb72cc4779b91384474b6b23e4744033d1 (patch) | |
tree | 574b080246bfe08f981f5052f5e78cbf4fa0f8df /pkgs/applications/networking/instant-messengers/telegram/cutegram | |
parent | c275fc610e087a416d018cd63ff420d724f0bbc2 (diff) | |
download | nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar.gz nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar.bz2 nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar.lz nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar.xz nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.tar.zst nixlib-7f4ab1cb72cc4779b91384474b6b23e4744033d1.zip |
cutegram: Fix running of {pre,post}Configure
Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of cutegram override the whole configurePhase, so this hook isn't run at all. This fixes the build of cutegram and it now successfully compiles on my machine. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram/cutegram')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix index 29a0f188516f..07bfcf3a03e0 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix @@ -24,7 +24,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - configurePhase = "qmake -r PREFIX=$out"; + configurePhase = '' + runHook preConfigure + qmake -r PREFIX=$out + runHook postConfigure + ''; fixupPhase = '' wrapQtProgram $out/bin/cutegram \ |