Unverified Commit 4840c65f authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

html-tidy: fixup build with cmake 4

parent cf58f5db
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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