dfc: fix for CMake v4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user