From b236e34e513003271e80749c66c5e92ae7040465 Mon Sep 17 00:00:00 2001 From: magicquark <198001825+magicquark@users.noreply.github.com> Date: Thu, 26 Feb 2026 02:54:29 +0000 Subject: [PATCH] supertux: fix build with boost 1.89 --- pkgs/by-name/su/supertux/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/su/supertux/package.nix b/pkgs/by-name/su/supertux/package.nix index ad73a29dfeca..49d2eee58529 100644 --- a/pkgs/by-name/su/supertux/package.nix +++ b/pkgs/by-name/su/supertux/package.nix @@ -55,6 +55,10 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace external/discord-sdk/CMakeLists.txt --replace-fail \ 'cmake_minimum_required (VERSION 3.2.0)' \ 'cmake_minimum_required (VERSION 4.0)' + # Fix build with boost 1.89. + substituteInPlace CMakeLists.txt --replace-fail \ + 'find_package(Boost REQUIRED COMPONENTS filesystem system date_time locale)' \ + 'find_package(Boost REQUIRED COMPONENTS filesystem date_time locale)' ''; nativeBuildInputs = [