From fb086d80e064e71e5230ff0ed849b792364d36e2 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Apr 2026 14:26:55 -0700 Subject: [PATCH] coloquinte: fix build with boost 1.89 Boost 1.89 removed the boost_system stub library. Remove the `system` component from the find_package call. --- pkgs/by-name/co/coloquinte/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/co/coloquinte/package.nix b/pkgs/by-name/co/coloquinte/package.nix index a4fa5e081480..d1bd2d02b9f3 100644 --- a/pkgs/by-name/co/coloquinte/package.nix +++ b/pkgs/by-name/co/coloquinte/package.nix @@ -19,6 +19,13 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-BQg2rVYe1wJOX7YnvgDVpmN6hwBJZKH0fxm+8HC8bvY="; }; + # boost 1.89 removed the boost_system stub library + postPatch = '' + substituteInPlace CMakeLists.txt --replace-fail \ + 'FIND_PACKAGE(Boost REQUIRED COMPONENTS system filesystem iostreams program_options unit_test_framework)' \ + 'FIND_PACKAGE(Boost REQUIRED COMPONENTS filesystem iostreams program_options unit_test_framework)' + ''; + nativeBuildInputs = [ cmake ];