From c39d76e24de174d4b30196f6bf9b748f036c196a Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Sat, 10 Jun 2023 14:43:53 +0200 Subject: [PATCH] liblinphone: disable -Werror Nixpkgs is not developing this application, so we are in no position to fix -Werror warnings, they just break things when compilers get updated. Thus, disable it. This unbreaks Linphone on master. --- pkgs/development/libraries/liblinphone/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/liblinphone/default.nix b/pkgs/development/libraries/liblinphone/default.nix index fe3ddba36b8..c170de14197 100644 --- a/pkgs/development/libraries/liblinphone/default.nix +++ b/pkgs/development/libraries/liblinphone/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DENABLE_STATIC=NO" # Do not build static libraries "-DENABLE_UNIT_TESTS=NO" # Do not build test executables + "-DENABLE_STRICT=NO" # Do not build with -Werror ]; buildInputs = [