Merge pull request #232776 from trofi/isl_0_24-zhf

isl_0_24: pull CC_FOR_BUILD

Changed files
+7 -1
pkgs
development
libraries
+7 -1
pkgs/development/libraries/isl/generic.nix
···
, patches ? []
}:
-
{ lib, stdenv, fetchurl, gmp, autoreconfHook
+
{ lib
+
, stdenv
+
, fetchurl
+
, gmp
+
, autoreconfHook
+
, buildPackages
}:
stdenv.mkDerivation {
···
inherit patches;
strictDeps = true;
+
depsBuildBuild = lib.optionals (lib.versionAtLeast version "0.24") [ buildPackages.stdenv.cc ];
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
buildInputs = [ gmp ];