From 31676758a77be96f8fb9806a989b26c78fff39ff Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Wed, 29 Mar 2023 08:24:37 -0400 Subject: [PATCH] yuzu-early-access: remove -Werror to work around deprecated functions in depdendent libraries --- pkgs/applications/emulators/yuzu/generic.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/emulators/yuzu/generic.nix b/pkgs/applications/emulators/yuzu/generic.nix index 3b6b73f6f8fa..9b9881ad7294 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"