From af93978187ce10313a8ef71e5fe01fdf9b306d51 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 31 Dec 2025 19:27:58 +0100 Subject: [PATCH] iodash: fix build with cmake4 --- pkgs/by-name/io/iodash/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/io/iodash/package.nix b/pkgs/by-name/io/iodash/package.nix index ba18acdb079c..cc2fa56e6687 100644 --- a/pkgs/by-name/io/iodash/package.nix +++ b/pkgs/by-name/io/iodash/package.nix @@ -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