From 4d201bddfd5a5cba568d16c063e43a392bf05e03 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Apr 2026 14:29:16 -0700 Subject: [PATCH] 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. --- pkgs/by-name/li/libwhereami/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libwhereami/package.nix b/pkgs/by-name/li/libwhereami/package.nix index 995736bcfa41..e77179f3066d 100644 --- a/pkgs/by-name/li/libwhereami/package.nix +++ b/pkgs/by-name/li/libwhereami/package.nix @@ -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";