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";