xpwn: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-20 06:28:34 -03:00
parent fac5e90ad9
commit 568016064b
+5
View File
@@ -51,6 +51,11 @@ stdenv.mkDerivation {
openssl
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
homepage = "http://planetbeing.lighthouseapp.com/projects/15246-xpwn";