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 <aszlig@redmoonstudios.org>
This commit is contained in:
parent
44a2ca4a34
commit
080b54d766
@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
qmake -r PREFIX=$out
|
qmake -r PREFIX=$out
|
||||||
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user