hotpatch: Fix minimum cmake requirement

This commit is contained in:
DashieTM
2025-11-16 13:52:50 +01:00
parent 986043f3a2
commit 74e3d6ced9

View File

@@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
patches = [ ./no-loader-test.patch ];
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
'cmake_minimum_required(VERSION 2.6 FATAL_ERROR)' \
'cmake_minimum_required(VERSION 4.0)'
'';
meta = with lib; {
description = "Hot patching executables on Linux using .so file injection";
mainProgram = "hotpatcher";