mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
phototonic: Fix running of {pre,post}Configure
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of phototonic
override the whole configurePhase, so this hook isn't run at all.
This fixes the build of phototonic and it now successfully compiles on
my machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
6d9147abab
commit
a0dd8d5afe
@ -16,8 +16,10 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ qtbase exiv2 ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
sed -i 's;/usr;;' phototonic.pro
|
||||
qmake PREFIX=""
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
Loading…
Reference in New Issue
Block a user