From c71a0e7c29c30f88dca4ebd09905e0d2b322d1fc Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Sun, 31 May 2026 15:49:01 +0800 Subject: [PATCH] gnuradioPackages.fosphor: fix build with boost 1.89 Assisted-by: Codex:gpt-5.5 --- pkgs/development/gnuradio-modules/fosphor/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/gnuradio-modules/fosphor/default.nix b/pkgs/development/gnuradio-modules/fosphor/default.nix index eafe57d57583..34fba81b1341 100644 --- a/pkgs/development/gnuradio-modules/fosphor/default.nix +++ b/pkgs/development/gnuradio-modules/fosphor/default.nix @@ -37,6 +37,12 @@ mkDerivation { }; disabled = gnuradioOlder "3.9" || gnuradioAtLeast "3.11"; + # Boost 1.89 removed the boost_system stub library. + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail 'COMPONENTS system chrono thread' 'COMPONENTS chrono thread' + ''; + nativeBuildInputs = [ cmake pkg-config