twmn: Fix running of {pre,post}Configure

Commit 0055c6a introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of twmn override
the whole configurePhase, so this hook isn't run at all.

This fixes the build of twmn and it now successfully compiles on my
machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-15 04:33:26 +02:00
parent 0cfff33f59
commit fab7c7edbf
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qtx11extras pkgconfig boost ];
configurePhase = ''
runHook preConfigure
sed -i s/-Werror// twmnd/twmnd.pro
qmake
runHook postConfigure
'';
installPhase = ''