libwhereami: 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-06 13:56:21 -07:00
parent e619c07e84
commit 4d201bddfd
+5
View File
@@ -25,6 +25,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 filesystem regex system thread)' \
'list(APPEND BOOST_COMPONENTS filesystem regex thread)'
'';
env.NIX_CFLAGS_COMPILE = "-Wno-error";