cmark-gfm: fix cmake 4 build errors (#449569)

This commit is contained in:
Grimmauld
2025-10-07 19:37:13 +00:00
committed by GitHub

View File

@@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-HiSGtRsSbW03R6aKoMVVFOLrwP5aXtpeXUC/bE5M/qo="; sha256 = "sha256-HiSGtRsSbW03R6aKoMVVFOLrwP5aXtpeXUC/bE5M/qo=";
}; };
# Fix the build with CMake 4.
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_minimum_required(VERSION 3.0)" \
"cmake_minimum_required(VERSION 3.13)"
'';
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
doCheck = true; doCheck = true;