xpwn: fix build with cmake4 (#453801)

This commit is contained in:
Jo
2025-10-21 13:22:03 +00:00
committed by GitHub
+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";