From 9472021ccd1dddc074186703fa6f5a65db043967 Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Thu, 20 Apr 2023 20:27:00 -0700 Subject: [PATCH] isl: Fix isl 0.20 on riscv due to out of date config.guess --- pkgs/development/libraries/isl/generic.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/isl/generic.nix b/pkgs/development/libraries/isl/generic.nix index 039d7138278b..fb71a3640663 100644 --- a/pkgs/development/libraries/isl/generic.nix +++ b/pkgs/development/libraries/isl/generic.nix @@ -5,7 +5,7 @@ , patches ? [] }: -{ lib, stdenv, fetchurl, gmp +{ lib, stdenv, fetchurl, gmp, autoreconfHook }: stdenv.mkDerivation { @@ -19,6 +19,7 @@ stdenv.mkDerivation { inherit patches; strictDeps = true; + nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ]; buildInputs = [ gmp ]; inherit configureFlags;