From b7dd6ebb793756b95d41e3c44f51d7d1c2c06fab Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Apr 2026 15:13:31 -0700 Subject: [PATCH] localproxy: 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/lo/localproxy/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/lo/localproxy/package.nix b/pkgs/by-name/lo/localproxy/package.nix index 89c8e45be70a..bcc43899c26c 100644 --- a/pkgs/by-name/lo/localproxy/package.nix +++ b/pkgs/by-name/lo/localproxy/package.nix @@ -54,6 +54,9 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace ./CMakeLists.txt --replace-fail \ "cmake_minimum_required(VERSION 3.2 FATAL_ERROR)" \ "cmake_minimum_required(VERSION 4.0)" + + # boost 1.89 removed the boost_system stub library + substituteInPlace CMakeLists.txt --replace-fail ' system' "" ''; # causes redefinition of _FORTIFY_SOURCE