about summary refs log tree commit diff
path: root/pkgs/applications/emulators/retroarch/cores.nix
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2024-02-04 20:28:53 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2024-02-04 20:34:37 +0000
commit0a88b3309adb05c760800735bdc8346c3ad62fa3 (patch)
tree6b78118f567cfaabed68270c322c46df5271a27b /pkgs/applications/emulators/retroarch/cores.nix
parent72cb730ea6f061f6ff20ea381484414843761680 (diff)
libretro.pcsx2: use gcc12Stdenv
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r--pkgs/applications/emulators/retroarch/cores.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index 2d59bfa36d534..5447942488f5b 100644
--- a/pkgs/applications/emulators/retroarch/cores.nix
+++ b/pkgs/applications/emulators/retroarch/cores.nix
@@ -790,18 +790,18 @@ in
       xxd
     ];
     makefile = "Makefile";
-    cmakeFlags = [
-      "-DLIBRETRO=ON"
-    ];
+    cmakeFlags = [ "-DLIBRETRO=ON" ];
+    # remove ccache
     postPatch = ''
-      # remove ccache
       substituteInPlace CMakeLists.txt --replace "ccache" ""
     '';
-
+    postBuild = "cd pcsx2";
     # causes redefinition of _FORTIFY_SOURCE
     hardeningDisable = [ "fortify3" ];
-
-    postBuild = "cd pcsx2";
+    # FIXME: multiple build errors with GCC13.
+    # Unlikely to be fixed until we switch to libretro/pcsx2 that is a more
+    # up-to-date port (but still WIP).
+    stdenv = gcc12Stdenv;
     meta = {
       description = "Port of PCSX2 to libretro";
       license = lib.licenses.gpl3Plus;