3
0
Fork 0
forked from mirrors/nixpkgs

tree-wide: SDL may not have a .dev

This commit is contained in:
Peter Hoeg 2022-05-10 13:09:27 +08:00
parent c9fa7f876d
commit fed7f8de86

View file

@ -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
'';