about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2023-04-01 01:48:11 +0300
committerGitHub <noreply@github.com>2023-04-01 01:48:11 +0300
commitcbdaedf815cd3d33ac2ea9e34adbbf8ccc308f7b (patch)
treee454af4250f7fbd1056c2a7d20b4dd8eb468edde /pkgs/applications/emulators
parent342f66402c7c16fff3e069f2553fb78dd2ac6f4e (diff)
parent31676758a77be96f8fb9806a989b26c78fff39ff (diff)
Merge pull request #220931 from mrene/fix-yuzu-early-access
yuzu-early-access: fix build error due to warning as errors
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/yuzu/generic.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/yuzu/generic.nix b/pkgs/applications/emulators/yuzu/generic.nix
index 3b6b73f6f8fa5..9b9881ad72942 100644
--- a/pkgs/applications/emulators/yuzu/generic.nix
+++ b/pkgs/applications/emulators/yuzu/generic.nix
@@ -87,6 +87,11 @@ stdenv.mkDerivation rec {
   # making the build fail, as that path does not exist
   dontFixCmake = true;
 
+  # -Werror causes build failures for deprecation warnings introduced by transitive dependency updates
+  postPatch = ''
+    sed -i '/-Werror/d' src/common/CMakeLists.txt
+  '';
+
   cmakeFlags = [
     "-DYUZU_USE_BUNDLED_QT=OFF"
     "-DYUZU_USE_BUNDLED_FFMPEG=OFF"