3
0
Fork 0
forked from mirrors/nixpkgs

quantumminigolf: update SDL_ttf include

This commit is contained in:
Michael Raskin 2016-09-02 10:21:58 +02:00
parent 15bb6bb9d6
commit 47bb8abd08

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation {
inherit (s) url sha256;
};
preBuild = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL -I${SDL_ttf}/include/SDL"
sed -re 's@"(gfx|fonts|tracks)/@"'"$out"'/share/quantumminigolf/\1/@g' -i *.cpp
'';