mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
tree-wide: SDL may not have a .dev
This commit is contained in:
parent
112e6456a3
commit
30d5b538fa
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ SDL SDL_gfx libjpeg libpng opencv ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL -I${SDL_gfx}/include/SDL";
|
||||
NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL}/include/SDL -I${SDL_gfx}/include/SDL";
|
||||
|
||||
# Disable building of linux-only demos on darwin systems
|
||||
patches = lib.optionals stdenv.isDarwin [ ./0001-dont-build-demos.patch ];
|
||||
|
Loading…
Reference in New Issue
Block a user