cpp-hocon: fix build with boost 1.89

Boost 1.89 removed the boost_system stub library. Remove the `system`
component from the BOOST_COMPONENTS list.
This commit is contained in:
Philip Taron
2026-04-01 14:29:11 -07:00
parent ea20fa3575
commit e619c07e84
+5
View File
@@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_minimum_required(VERSION 3.2.2)" \
"cmake_minimum_required(VERSION 3.10)"
# boost 1.89 removed the boost_system stub library
substituteInPlace CMakeLists.txt --replace-fail \
'list(APPEND BOOST_COMPONENTS thread date_time chrono filesystem system program_options)' \
'list(APPEND BOOST_COMPONENTS thread date_time chrono filesystem program_options)'
'';
env.NIX_CFLAGS_COMPILE = "-Wno-error";