about summary refs log tree commit diff
path: root/pkgs/applications/emulators/cemu
diff options
context:
space:
mode:
authorlasers <lasers@users.noreply.github.com>2023-04-15 22:46:02 -0500
committerlasers <lasers@users.noreply.github.com>2023-04-21 01:25:59 -0500
commit52cb2d2cdd436834d0bb5b62d2c73038ad1b1650 (patch)
tree3a22d75707752bc0892c1bd0ec91a26c789734bf /pkgs/applications/emulators/cemu
parent8d82c9c90f465b4ef4ca111b7307702e229401a3 (diff)
cemu: 2.0-32 -> 2.0-36
Diffstat (limited to 'pkgs/applications/emulators/cemu')
-rw-r--r--pkgs/applications/emulators/cemu/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/emulators/cemu/default.nix b/pkgs/applications/emulators/cemu/default.nix
index 3d034f7c7362d..45b4736b3d9b2 100644
--- a/pkgs/applications/emulators/cemu/default.nix
+++ b/pkgs/applications/emulators/cemu/default.nix
@@ -31,13 +31,13 @@
 
 stdenv.mkDerivation rec {
   pname = "cemu";
-  version = "2.0-32";
+  version = "2.0-36";
 
   src = fetchFromGitHub {
     owner = "cemu-project";
     repo = "Cemu";
     rev = "v${version}";
-    hash = "sha256-47uCGN1wFVx3ph/q3+BG+pwJ7nisbmRPUEatOIq0i9M=";
+    hash = "sha256-RO8c9gLK00LLwDzcD8UOS3kh3kwTwFyrpuRlIXcInPo=";
   };
 
   patches = [
@@ -86,9 +86,12 @@ stdenv.mkDerivation rec {
     "-DPORTABLE=OFF"
   ];
 
-  preConfigure = ''
+  preConfigure = with lib; let
+    tag = last (splitString "-" version);
+  in ''
     rm -rf dependencies/imgui
     ln -s ${imgui}/include/imgui dependencies/imgui
+    sed 's/\(EMULATOR_VERSION_SUFFIX\).*experimental.*/\1 "-${tag} (experimental)"/' -i src/Common/version.h
   '';
 
   installPhase = ''