Unverified Commit 2181bfd0 authored by Bobby Rong's avatar Bobby Rong
Browse files

libmpd: Fix GCC 14 build

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

Note that this is also needed by latest clang.
parent f08e95b1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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/";