libmpd: Fix GCC 14 build

https://hydra.nixos.org/build/281958201/nixlog/3

Note that this is also needed by latest clang.
This commit is contained in:
Bobby Rong
2024-12-24 00:49:16 +08:00
parent f08e95b16f
commit 2181bfd0a3
+4
View File
@@ -35,6 +35,10 @@ stdenv.mkDerivation (finalAttrs: {
cp -r doc/html $devdoc/share/devhelp/libmpd/doxygen
'';
# Fix GCC 14 build
# https://hydra.nixos.org/build/281958201/nixlog/3
env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion";
meta = with lib; {
description = "Higher level access to MPD functions";
homepage = "https://www.musicpd.org/download/libmpd/";