tree-wide: SDL may not have a .dev

This commit is contained in:
Peter Hoeg 2022-05-10 13:09:27 +08:00
parent a0156e7048
commit 35bed20020

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation {
prePatch = ''
substituteInPlace Makefile \
--replace "CPPFLAGS +=" "CPPFLAGS += -DSAVES_IN_HOME -DDATADIR=\\\"$out/share/meritous\\\"" \
--replace sld-config ${SDL.dev}/bin/sdl-config
--replace sld-config ${lib.getDev SDL}/bin/sdl-config
substituteInPlace src/audio.c \
--replace "filename[64]" "filename[256]"
'';