From f88a24a0b8d59434e6fb044ceec44cb0ab782881 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Apr 2026 14:29:27 -0700 Subject: [PATCH] grive2: 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/gr/grive2/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/gr/grive2/package.nix b/pkgs/by-name/gr/grive2/package.nix index 8c2c7260d9e1..a229eae30de3 100644 --- a/pkgs/by-name/gr/grive2/package.nix +++ b/pkgs/by-name/gr/grive2/package.nix @@ -37,6 +37,11 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail 'cmake_minimum_required(VERSION 2.8)' 'cmake_minimum_required(VERSION 3.10)' + + # boost 1.89 removed the boost_system stub library + substituteInPlace libgrive/CMakeLists.txt --replace-fail \ + 'find_package(Boost 1.40.0 COMPONENTS program_options filesystem unit_test_framework regex system REQUIRED)' \ + 'find_package(Boost 1.40.0 COMPONENTS program_options filesystem unit_test_framework regex REQUIRED)' ''; nativeBuildInputs = [