diff --git a/pkgs/by-name/xe/xenia-canary/package.nix b/pkgs/by-name/xe/xenia-canary/package.nix index 0aaa5a9cb18f..e59bf3884350 100644 --- a/pkgs/by-name/xe/xenia-canary/package.nix +++ b/pkgs/by-name/xe/xenia-canary/package.nix @@ -19,14 +19,14 @@ }: llvmPackages_20.stdenv.mkDerivation { pname = "xenia-canary"; - version = "0-unstable-2025-07-07"; + version = "0-unstable-2025-07-27"; src = fetchFromGitHub { owner = "xenia-canary"; repo = "xenia-canary"; fetchSubmodules = true; - rev = "0aeac841b8354806f1c455402edb0815dfe9729e"; - hash = "sha256-KgFwQSXj5s5WuFboFyKqQRHrzH3ENatqWp0WeHEJgRg="; + rev = "c3e4a93c0a59281cb53c6991c2c4b67e224a37d8"; + hash = "sha256-p4XZwmehboq7CZnVO4J+QzyTNIjvJEplBfVPPvzVepw="; }; dontConfigure = true; @@ -42,6 +42,11 @@ llvmPackages_20.stdenv.mkDerivation { libuuid ]; + postPatch = '' + substituteInPlace premake5.lua \ + --replace-fail "cdialect(\"C17\")" "" + ''; # Prevent build failure + NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" ]; @@ -55,7 +60,7 @@ llvmPackages_20.stdenv.mkDerivation { buildPhase = '' runHook preBuild python3 xenia-build setup - python3 xenia-build build --config=release -j $NIX_BUILD_CORES + python3 xenia-build build --config=release runHook postBuild ''; @@ -89,7 +94,7 @@ llvmPackages_20.stdenv.mkDerivation { runHook postInstall ''; - passthru.updateScript = unstableGitUpdater { }; + passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; meta = { description = "Xbox 360 Emulator Research Project";