microdnf: with build with cmake4 (#475700)

This commit is contained in:
Aleksana
2026-01-01 07:30:24 +00:00
committed by GitHub

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