diff --git a/pkgs/games/meritous/default.nix b/pkgs/games/meritous/default.nix index e7dd1bee70c9..c7631f2370db 100644 --- a/pkgs/games/meritous/default.nix +++ b/pkgs/games/meritous/default.nix @@ -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]" '';