From d305cd86a357ff0daa408c9ed4ab79e3748c0340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Tue, 18 Jul 2023 13:29:14 -0600 Subject: [PATCH] gupnp-av: mitigate build error due to deprecations in libxml2 More information: https://gitlab.gnome.org/GNOME/gupnp-av/-/issues/10 --- pkgs/development/libraries/gupnp-av/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/gupnp-av/default.nix b/pkgs/development/libraries/gupnp-av/default.nix index 1627e66d278..c43f69fd97b 100644 --- a/pkgs/development/libraries/gupnp-av/default.nix +++ b/pkgs/development/libraries/gupnp-av/default.nix @@ -41,6 +41,10 @@ stdenv.mkDerivation rec { libxml2 ]; + NIX_CFLAGS_COMPILE = [ + "-Wno-error=deprecated-declarations" + ]; + mesonFlags = [ "-Dgtk_doc=true" ];