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;