mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
trigger-rally: fix build
Previously failed due to not finding `SDL.h`.
This commit is contained in:
parent
1f45a852d3
commit
72f455362c
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
sed s,/usr/local,$out, -i bin/*defs
|
sed s,/usr/local,$out, -i bin/*defs
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL"
|
||||||
export makeFlags="$makeFlags prefix=$out"
|
export makeFlags="$makeFlags prefix=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue