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.
This commit is contained in:
Philip Taron
2026-04-06 14:08:07 -07:00
parent 0b3c014369
commit f88a24a0b8
+5
View File
@@ -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 = [