hotpatch: Fix minimum cmake requirement (#462223)
This commit is contained in:
@@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./no-loader-test.patch ];
|
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; {
|
meta = with lib; {
|
||||||
description = "Hot patching executables on Linux using .so file injection";
|
description = "Hot patching executables on Linux using .so file injection";
|
||||||
mainProgram = "hotpatcher";
|
mainProgram = "hotpatcher";
|
||||||
|
|||||||
Reference in New Issue
Block a user