dfc: fix for CMake v4

This commit is contained in:
Guilhem Saurel
2025-10-08 12:09:22 +02:00
parent 2b6e272f5f
commit 01e1256074
+8
View File
@@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "0m1fd7l85ckb7bq4c5c3g257bkjglm8gq7x42pkmpp87fkknc94n";
};
# Fix for CMake v4
# ref. https://github.com/rolinh/dfc/pull/35
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_minimum_required(VERSION 2.8.4)" \
"cmake_minimum_required(VERSION 3.10)"
'';
nativeBuildInputs = [
cmake
gettext