iodash: fix build with cmake4

This commit is contained in:
Sigmanificient
2025-12-31 19:27:58 +01:00
parent e1405b568f
commit af93978187
+5
View File
@@ -21,6 +21,11 @@ stdenv.mkDerivation {
# https://github.com/YukiWorkshop/IODash/pull/2
patches = [ ./0001-Add-cmake-install-directives.patch ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.2)" "cmake_minimum_required(VERSION 3.10)"
'';
nativeBuildInputs = [
cmake
pkg-config