diff options
author | Mathieu Rene <mathieu.rene@gmail.com> | 2023-03-29 08:24:37 -0400 |
---|---|---|
committer | Mathieu Rene <mathieu.rene@gmail.com> | 2023-03-30 22:13:21 -0400 |
commit | 31676758a77be96f8fb9806a989b26c78fff39ff (patch) | |
tree | 12e8bc2bc6c6394b467001eccb2641196018bc19 /pkgs/applications/emulators | |
parent | be3f50fd257f670a50a7606c5adc3d3a2b7a02fc (diff) |
yuzu-early-access: remove -Werror to work around deprecated functions in depdendent libraries
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/yuzu/generic.nix | 5 |
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" |