supertux: fix build with boost 1.89 (#494224)

This commit is contained in:
Aleksana
2026-02-26 10:51:51 +00:00
committed by GitHub
+4
View File
@@ -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 = [