html-tidy: fixup build with cmake 4

This commit is contained in:
Vladimír Čunát
2025-09-30 08:04:23 +02:00
parent cf58f5db61
commit 4840c65f1d
+5
View File
@@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Q2GjinNBWLL+HXUtslzDJ7CJSTflckbjweiSMCnIVwg=";
}
);
# https://github.com/htacg/tidy-html5/issues/1139
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'cmake_minimum_required (VERSION 2.8.12)' 'cmake_minimum_required(VERSION 3.5)'
'';
nativeBuildInputs = [
cmake