From 72bc7bff1c16bc01ead0386d71ac86986fbf1947 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Thu, 26 Feb 2026 04:30:32 -0300 Subject: [PATCH] stuntrally: fix build with boost 1.89 --- pkgs/by-name/st/stuntrally/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/st/stuntrally/package.nix b/pkgs/by-name/st/stuntrally/package.nix index d24d33ed54f2..f95558204b65 100644 --- a/pkgs/by-name/st/stuntrally/package.nix +++ b/pkgs/by-name/st/stuntrally/package.nix @@ -51,6 +51,11 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace src/vdrift/paths.cpp \ --replace-fail "@GAME_DATA_DIR@" "$out/share/stuntrally3/data" \ --replace-fail "@GAME_CONFIG_DIR@" "$out/share/stuntrally3/config" + + # Fix build with boost 1.89 + substituteInPlace CMake/AddMissingTargets.cmake --replace-fail \ + 'find_package(Boost REQUIRED COMPONENTS system thread filesystem)' \ + 'find_package(Boost REQUIRED COMPONENTS thread filesystem)' ''; strictDeps = true;