diff --git a/pkgs/applications/graphics/phototonic/default.nix b/pkgs/applications/graphics/phototonic/default.nix index a26346add7f..4ed3a424031 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)" ];