From 0b8da5fde3a371f9d34bc27da3def771ef0d5401 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Wed, 25 Oct 2023 22:26:25 -0400 Subject: libretro.mame2015: fix build on Python 3.11+ Since Python 3.11, `open()` etc. no longer accept `U` flag. --- pkgs/applications/emulators/retroarch/cores.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/applications/emulators/retroarch/cores.nix') diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index d1cbf12b34d..c18b26b1b24 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -568,6 +568,7 @@ in mame2015 = mkLibretroCore { core = "mame2015"; + patches = [ ./patches/mame2015-python311.patch ]; makeFlags = [ "PYTHON=python3" ]; extraNativeBuildInputs = [ python3 ]; extraBuildInputs = [ alsa-lib ]; -- cgit 1.4.1