fmit: Fix running of {pre,post}Configure
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of fmit override
the whole configurePhase, so this hook isn't run at all.
This doesn't fix the build of fmit, because it's unable to find
GL/glu.h. However I think this isn't an issue of the fmit package but
rather rooted in propagating the wrong output paths from freeglut.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
4dde716a05
commit
97d89ad7ee
@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optionals portaudioSupport [ portaudio ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
mkdir build
|
||||
cd build
|
||||
qmake \
|
||||
@ -32,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
CONFIG+=${stdenv.lib.optionalString portaudioSupport "acs_portaudio"} \
|
||||
PREFIX="$out" PREFIXSHORTCUT="$out" \
|
||||
../fmit.pro
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user