From 985946b91261a5acd0cbe1ab7fab963e9b611645 Mon Sep 17 00:00:00 2001 From: Andrew Zah Date: Sun, 19 Oct 2025 18:11:55 +0900 Subject: [PATCH] galario: fix build issue related to cmake 4. * As noted in https://github.com/NixOS/nixpkgs/issues/445447. --- pkgs/by-name/ga/galario/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ga/galario/package.nix b/pkgs/by-name/ga/galario/package.nix index 7dcfafe08f3e..6b6a54c61d6f 100644 --- a/pkgs/by-name/ga/galario/package.nix +++ b/pkgs/by-name/ga/galario/package.nix @@ -10,7 +10,6 @@ pythonPackages ? null, llvmPackages, }: - let # CMake recipes are needed to build galario # Build process would usually download them @@ -50,6 +49,9 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace python/utils.py \ --replace-fail "trapz" "trapezoid" \ --replace-fail "np.int" "int" + + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" ''; nativeCheckInputs = lib.optionals enablePython [