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 47240a3e31
commit 7317302c77

View file

@ -6,7 +6,7 @@ let
jamenv = ''
unset AR
'' + (if stdenv.isDarwin then ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL"
export GARGLKINI="$out/Applications/Gargoyle.app/Contents/Resources/garglk.ini"
'' else ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/libexec/gargoyle"