From fd7ff5ba20bfe3c27a1b83d3341ed7ffaf001ede Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Mon, 20 Oct 2025 16:23:04 -0300 Subject: [PATCH] stxxl: fix build with cmake4 --- pkgs/by-name/st/stxxl/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/st/stxxl/package.nix b/pkgs/by-name/st/stxxl/package.nix index d045a889a016..324e0c76115b 100644 --- a/pkgs/by-name/st/stxxl/package.nix +++ b/pkgs/by-name/st/stxxl/package.nix @@ -34,6 +34,11 @@ stdenv.mkDerivation rec { inherit parallelSupport; }; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { description = "Implementation of the C++ standard template library STL for external memory (out-of-core) computations"; homepage = "https://github.com/stxxl/stxxl";