diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-10-25 22:26:25 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-10-25 22:26:25 -0400 |
commit | 0b8da5fde3a371f9d34bc27da3def771ef0d5401 (patch) | |
tree | 3b215ae94c193fc94b8fd28e17f23d18cec99601 /pkgs/applications/emulators/retroarch/cores.nix | |
parent | 8efd5d1e283604f75a808a20e6cde0ef313d07d4 (diff) | |
download | nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar.gz nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar.bz2 nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar.lz nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar.xz nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.tar.zst nixpkgs-0b8da5fde3a371f9d34bc27da3def771ef0d5401.zip |
libretro.mame2015: fix build on Python 3.11+
Since Python 3.11, `open()` etc. no longer accept `U` flag.
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r-- | pkgs/applications/emulators/retroarch/cores.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 ]; |