superTuxKart: fix build with newer mesa

The idea is taken from Arch.
This commit is contained in:
Vladimír Čunát
2014-03-23 22:26:27 +01:00
parent 11492176d5
commit 11e8c4ae8c
+1
View File
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
echo Building internal Irrlicht
cd lib/irrlicht/source/Irrlicht/
cp "${mesa}"/include/GL/{gl,glx,wgl}ext.h .
NDEBUG=1 make ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
cd -
'';