microdnf: with build with cmake4

This commit is contained in:
Sigmanificient
2025-12-31 20:12:58 +01:00
parent 86122fa2bb
commit 4c7cc38380

View File

@@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
hash = "sha256-xWHE05CeX8I8YO0gqf5FDiqLexirwKdyCe4grclOVYc=";
};
# inlined of https://github.com/rpm-software-management/microdnf/pull/151
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required (VERSION 2.8.5)" "cmake_minimum_required (VERSION 3.10)"
'';
nativeBuildInputs = [
pkg-config
cmake