diff options
-rw-r--r-- | pkgs/applications/emulators/yuzu/generic.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/emulators/yuzu/vulkan_version.patch | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/pkgs/applications/emulators/yuzu/generic.nix b/pkgs/applications/emulators/yuzu/generic.nix index 71306bdc43b..3fdd6db8466 100644 --- a/pkgs/applications/emulators/yuzu/generic.nix +++ b/pkgs/applications/emulators/yuzu/generic.nix @@ -110,7 +110,7 @@ in stdenv.mkDerivation { # This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt` # making the build fail, as that path does not exist dontFixCmake = true; - patches = [./vulkan_version.patch]; + cmakeFlags = [ # actually has a noticeable performance impact "-DYUZU_ENABLE_LTO=ON" diff --git a/pkgs/applications/emulators/yuzu/vulkan_version.patch b/pkgs/applications/emulators/yuzu/vulkan_version.patch deleted file mode 100644 index 7b77179e9f4..00000000000 --- a/pkgs/applications/emulators/yuzu/vulkan_version.patch +++ /dev/null @@ -1,13 +0,0 @@ -Yuzu requires a version of Vulkan that has not yet been released as a stable Vulkan SDK. In case this patch fails, check which version Yuzu is currently using and verify that it still works with the version shipped in Nixpkgs. - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -314,7 +314,7 @@ - find_package(zstd 1.5 REQUIRED) - - if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS) -- find_package(Vulkan 1.3.256 REQUIRED) -+ find_package(Vulkan 1.3.250 REQUIRED) - endif() - - if (ENABLE_LIBUSB) |