teapot: fix build with cmake4 (#453946)

This commit is contained in:
Jo
2025-10-21 13:27:23 +00:00
committed by GitHub
+5
View File
@@ -46,6 +46,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DENABLE_HELP=OFF"
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "Table Editor And Planner, Or: Teapot";
longDescription = ''