mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
iannix: Fix running of {pre,post}Configure
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of iannix override
the whole configurePhase, so this hook isn't run at all.
This fixes the build of iannix and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
97d89ad7ee
commit
bb543e1540
@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ alsaLib pkgconfig qt5.qtbase qt5.qtscript ];
|
||||
|
||||
configurePhase = ''qmake PREFIX=/'';
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake PREFIX=/
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user