teapot: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-20 15:36:59 -03:00
parent fac5e90ad9
commit 93c494f7d2
+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 = ''