Loading pkgs/applications/emulators/mame/default.nix +18 −6 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ SDL2_ttf, copyDesktopItems, expat, fetchpatch, fetchurl, flac, fontconfig, Loading Loading @@ -112,11 +113,22 @@ stdenv.mkDerivation rec { wrapQtAppsHook ]; patches = [ patches = [ # by default MAME assumes that paths with stock resources are relative and # that you run MAME changing to install directory, so we add absolute paths # here ./001-use-absolute-paths.diff ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # coreaudio_sound.cpp compares __MAC_OS_X_VERSION_MIN_REQUIRED to 1200 # instead of 120000, causing it to try to use a constant that isn't # actually defined yet when targeting macOS 11 like Nixpkgs does. # Backport mamedev/mame#13890 until the next time we update MAME. (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/mamedev/mame/pull/13890.patch"; hash = "sha256-Fqpw4fHEMns4tSSIjc1p36ss+J9Tc/O0cnN3HI/ratM="; }) ]; # Since the bug described in https://github.com/NixOS/nixpkgs/issues/135438, Loading Loading
pkgs/applications/emulators/mame/default.nix +18 −6 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ SDL2_ttf, copyDesktopItems, expat, fetchpatch, fetchurl, flac, fontconfig, Loading Loading @@ -112,11 +113,22 @@ stdenv.mkDerivation rec { wrapQtAppsHook ]; patches = [ patches = [ # by default MAME assumes that paths with stock resources are relative and # that you run MAME changing to install directory, so we add absolute paths # here ./001-use-absolute-paths.diff ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # coreaudio_sound.cpp compares __MAC_OS_X_VERSION_MIN_REQUIRED to 1200 # instead of 120000, causing it to try to use a constant that isn't # actually defined yet when targeting macOS 11 like Nixpkgs does. # Backport mamedev/mame#13890 until the next time we update MAME. (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/mamedev/mame/pull/13890.patch"; hash = "sha256-Fqpw4fHEMns4tSSIjc1p36ss+J9Tc/O0cnN3HI/ratM="; }) ]; # Since the bug described in https://github.com/NixOS/nixpkgs/issues/135438, Loading