From 4beb1b350f19099136e94016bc53a20a1ea8d575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 11 Apr 2023 09:17:47 +0200 Subject: [PATCH] soundux: fixup build (deprecation warning) https://hydra.nixos.org/log/n68jqzhd3i0p1z5l76racas4lics2dq7-soundux-0.2.7.drv I believe deprecation warnings are for upstreams, not for distros. --- pkgs/applications/audio/soundux/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/audio/soundux/default.nix b/pkgs/applications/audio/soundux/default.nix index f6616e58353e..ea9ea3322b55 100644 --- a/pkgs/applications/audio/soundux/default.nix +++ b/pkgs/applications/audio/soundux/default.nix @@ -107,6 +107,8 @@ stdenv.mkDerivation rec { ln -s ${semver-cpp} lib/semver ''; + NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]; + # Somehow some of the install destination paths in the build system still # gets transformed to point to /var/empty/share, even though they are at least # relative to the nix output directory with our earlier patching.