about summary refs log tree commit diff
path: root/pkgs/servers/mpd
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-01-15 14:09:16 +0300
committerK900 <me@0upti.me>2023-01-15 14:09:16 +0300
commitc9f1487cb8d2582c86c3b90d4ebf95b906214f1d (patch)
tree6c34060375d42182d686a3b1d23b17d38edbfae4 /pkgs/servers/mpd
parent2d798b38ac8473e7cc6a3d4b38d7651cbd56fda5 (diff)
mpd: fix build
Diffstat (limited to 'pkgs/servers/mpd')
-rw-r--r--pkgs/servers/mpd/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix
index d5258f8121f0c..44d8185b064e2 100644
--- a/pkgs/servers/mpd/default.nix
+++ b/pkgs/servers/mpd/default.nix
@@ -165,6 +165,9 @@ let
       outputs = [ "out" "doc" ]
         ++ lib.optional (builtins.elem "documentation" features_) "man";
 
+      # FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream
+      NIX_CFLAGS_COMPILE = [ "-DPW_ENABLE_DEPRECATED" ];
+
       CXXFLAGS = lib.optionals stdenv.isDarwin [
         "-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0"
       ];