libmpd: Fix GCC 14 build (#367692)

This commit is contained in:
Bobby Rong
2024-12-24 01:02:18 +08:00
committed by GitHub
+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/";