Unverified Commit 0d688745 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

galario: fix build issue related to cmake 4. (#453473)

parents 01ab3f35 985946b9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 [