diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 04:27:57 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | a0dd8d5afed35629c1055661d9262c64fc472402 (patch) | |
tree | b7a76847780a7edc75ebc1daeab8a1ab6c528102 /pkgs/applications/graphics/phototonic | |
parent | 6d9147abab8840c61b14be13aa029ff9275cb700 (diff) |
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>
Diffstat (limited to 'pkgs/applications/graphics/phototonic')
-rw-r--r-- | pkgs/applications/graphics/phototonic/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/phototonic/default.nix b/pkgs/applications/graphics/phototonic/default.nix index a26346add7ff2..4ed3a424031d3 100644 --- a/pkgs/applications/graphics/phototonic/default.nix +++ b/pkgs/applications/graphics/phototonic/default.nix @@ -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)" ]; |