From b30abcfc549612d079fb482cfb6cb2f2a58e94fe Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Apr 2026 14:29:30 -0700 Subject: [PATCH] fileshelter: 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/fi/fileshelter/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/fi/fileshelter/package.nix b/pkgs/by-name/fi/fileshelter/package.nix index f14f43ec3f30..b56c99aaa2dd 100644 --- a/pkgs/by-name/fi/fileshelter/package.nix +++ b/pkgs/by-name/fi/fileshelter/package.nix @@ -24,6 +24,11 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' sed -i '1i #include ' src/fileshelter/ui/ShareCreateFormView.cpp + + # boost 1.89 removed the boost_system stub library + substituteInPlace CMakeLists.txt --replace-fail \ + 'find_package(Boost REQUIRED COMPONENTS system program_options)' \ + 'find_package(Boost REQUIRED COMPONENTS program_options)' ''; enableParallelBuilding = true;