diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 04:02:43 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | c275fc610e087a416d018cd63ff420d724f0bbc2 (patch) | |
tree | 695917912979ca64fe04abd9192d35f2a3dd4421 /pkgs/applications/networking/instant-messengers/telegram | |
parent | 080b54d766dbbcdad3cf3998585788510510cefd (diff) | |
download | nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar.gz nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar.bz2 nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar.lz nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar.xz nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.tar.zst nixlib-c275fc610e087a416d018cd63ff420d724f0bbc2.zip |
telegram-qml: Fix running of {pre,post}Configure
Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of telegram-qml override the whole configurePhase, so this hook isn't run at all. This fixes the build of telegram-qml and it now successfully compiles on my machine. Built it using the following command, because it wasn't exposed via the top-level packages attribute: nix-build -E ' with import ./. {}; qt55.callPackage pkgs/applications/networking/instant-messengers/telegram/telegram-qml { libqtelegram-aseman-edition = qt55.callPackage pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition {}; } ' Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix index 372531f658e5..5412b0db4d6b 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix @@ -21,7 +21,9 @@ stdenv.mkDerivation rec { ''; configurePhase = '' + runHook preConfigure qmake -r PREFIX=$out BUILD_MODE+=lib + runHook postConfigure ''; meta = with stdenv.lib; { |