From 080b54d766dbbcdad3cf3998585788510510cefd Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 03:56:01 +0200 Subject: [PATCH] libqtelegram-aseman-edition: Add pre/postConfigure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of libqtelegram-aseman-edition override the whole configurePhase, so this hook isn't run at all. This fixes the build of libqtelegram-aseman-edition 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/libqtelegram-aseman-edition {} ' Signed-off-by: aszlig --- .../telegram/libqtelegram-aseman-edition/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix b/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix index 206b2a074763..470724876ed9 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix @@ -20,7 +20,9 @@ stdenv.mkDerivation rec { ''; configurePhase = '' + runHook preConfigure qmake -r PREFIX=$out + runHook postConfigure ''; meta = with stdenv.lib; {