From 023ec38a2981448f5ac6a06cf148f21dd3cf478d Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 21 Feb 2026 13:48:19 +0100 Subject: [PATCH] gnuradio: fix build with boost 1.89 Finding `boost_system` fails because the stub compiled library of Boost.System, which has been a header-only library since 1.69, was removed in 1.89. --- pkgs/applications/radio/gnuradio/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/radio/gnuradio/default.nix b/pkgs/applications/radio/gnuradio/default.nix index 9c4d8cdbf427..f08bca6a1e64 100644 --- a/pkgs/applications/radio/gnuradio/default.nix +++ b/pkgs/applications/radio/gnuradio/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, # Remove gcc and python references removeReferencesTo, @@ -309,6 +310,14 @@ stdenv.mkDerivation ( patches = [ # Not accepted upstream, see https://github.com/gnuradio/gnuradio/pull/5227 ./modtool-newmod-permissions.patch + + # Finding `boost_system` fails because the stub compiled library of + # Boost.System, which has been a header-only library since 1.69, was + # removed in 1.89. + (fetchpatch { + url = "https://github.com/gnuradio/gnuradio/commit/d8814e0c3ef68372e5a1093603ef602e2119cd8a.patch"; + hash = "sha256-TQxqsce1AhSjdwaG2IP11QTeOgdJHN6cAAnznBl8eM8="; + }) ]; passthru = shared.passthru // { # Deps that are potentially overridden and are used inside GR plugins - the same version must