arguments: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-11-03 15:59:32 -03:00
parent 7266b8381c
commit ceaf58465f
+5
View File
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
doCheck = false;
# internal_volume_io.h: No such file or directory
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://github.com/${owner}/arguments";
description = "Library for argument handling for MINC programs";