unicorn-angr: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-25 00:36:00 -03:00
parent 385f0a2ebb
commit eeb97d3469
+5
View File
@@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
doCheck = true;
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "Lightweight multi-platform CPU emulator library";
homepage = "https://www.unicorn-engine.org";