forked from mirrors/nixpkgs
tree-wide: SDL may not have a .dev
This commit is contained in:
parent
c9fa7f876d
commit
fed7f8de86
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
preBuild = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL -I${SDL_ttf}/include/SDL"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL -I${SDL_ttf}/include/SDL"
|
||||
|
||||
sed -re 's@"(gfx|fonts|tracks)/@"'"$out"'/share/quantumminigolf/\1/@g' -i *.cpp
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue