From 02ba3527de94784dd319bdf1149922c122d2002c Mon Sep 17 00:00:00 2001 From: wxlyyy <1556588440@qq.com> Date: Tue, 17 Jun 2025 18:04:33 +0800 Subject: [PATCH] deadbeefPlugins.lyricbar & deadbeefPlugins.musical-spectrum: fix build --- pkgs/applications/audio/deadbeef/plugins/lyricbar.nix | 2 ++ pkgs/applications/audio/deadbeef/plugins/musical-spectrum.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix b/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix index 3a6a705de5cb..28b390d837e9 100644 --- a/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix +++ b/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation { libxmlxx3 ]; + NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types"; + buildFlags = [ "gtk3" ]; meta = with lib; { diff --git a/pkgs/applications/audio/deadbeef/plugins/musical-spectrum.nix b/pkgs/applications/audio/deadbeef/plugins/musical-spectrum.nix index f0a77e38e41d..3cac7e91ec29 100644 --- a/pkgs/applications/audio/deadbeef/plugins/musical-spectrum.nix +++ b/pkgs/applications/audio/deadbeef/plugins/musical-spectrum.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation { ]; makeFlags = [ "gtk3" ]; + NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types"; + installPhase = '' runHook preInstall