diff --git a/pkgs/games/quakespasm/default.nix b/pkgs/games/quakespasm/default.nix index 5b124cb464d1..28c925b5249e 100644 --- a/pkgs/games/quakespasm/default.nix +++ b/pkgs/games/quakespasm/default.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation rec { ./quakespasm-darwin-makefile-improvements.patch ]; + # Quakespasm tries to set a 10.6 deployment target, but that’s too low for SDL2. + postPatch = '' + sed -i Makefile.darwin -e '/-mmacosx-version-min/d' + ''; + nativeBuildInputs = [ copyDesktopItems pkg-config