diff --git a/pkgs/development/libraries/qwt/6.nix b/pkgs/development/libraries/qwt/6.nix index d4819d70bfc..a99573ca5e4 100644 --- a/pkgs/development/libraries/qwt/6.nix +++ b/pkgs/development/libraries/qwt/6.nix @@ -14,7 +14,11 @@ stdenv.mkDerivation rec { sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri ''; - configurePhase = "qmake -after doc.path=$out/share/doc/${name} -r"; + configurePhase = '' + runHook preConfigure + qmake -after doc.path=$out/share/doc/${name} -r + runHook postConfigure + ''; meta = with stdenv.lib; { description = "Qt widgets for technical applications"; diff --git a/pkgs/development/libraries/qwt/default.nix b/pkgs/development/libraries/qwt/default.nix index 4aa7c0bc7d5..451784261f8 100644 --- a/pkgs/development/libraries/qwt/default.nix +++ b/pkgs/development/libraries/qwt/default.nix @@ -15,7 +15,11 @@ stdenv.mkDerivation rec { sed -e "s|INSTALLBASE.*=.*|INSTALLBASE = $out|g" -i qwtconfig.pri ''; - configurePhase = ''qmake INSTALLBASE=$out -after doc.path=$out/share/doc/${name} -r''; + configurePhase = '' + runHook preConfigure + qmake INSTALLBASE=$out -after doc.path=$out/share/doc/${name} -r + runHook postConfigure + ''; meta = with stdenv.lib; { description = "Qt widgets for technical applications";