From ee62012a92e56a45d6f9d2de7c326c8c04e96fc0 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Mon, 10 Aug 2026 16:04:45 -0700 Subject: [PATCH] phonon: disable experimental library to fix build with newer clang The experimental library is an unstable upstream API and should not be exposed by distribution builds. Disabling it also avoids the newer-Clang build failure on Darwin. Assisted-by: Pi (OpenAI Codex GPT-5.6-sol) --- pkgs/kde/misc/phonon/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/kde/misc/phonon/default.nix b/pkgs/kde/misc/phonon/default.nix index 76e57f30b3a5..a822d0e112ab 100644 --- a/pkgs/kde/misc/phonon/default.nix +++ b/pkgs/kde/misc/phonon/default.nix @@ -33,6 +33,8 @@ mkKdeDerivation rec { cmakeFlags = [ "-DPHONON_BUILD_QT5=0" "-DPHONON_BUILD_QT6=1" + # Do not expose upstream's unstable experimental API. + (lib.cmakeBool "PHONON_BUILD_EXPERIMENTAL" false) ]; meta.license = with lib.licenses; [