Merge pull request #232776 from trofi/isl_0_24-zhf

isl_0_24: pull CC_FOR_BUILD

authored by Weijia Wang and committed by GitHub 191f1a50 e0aeb5ce

+7 -1
+7 -1
pkgs/development/libraries/isl/generic.nix
··· 5 5 , patches ? [] 6 6 }: 7 7 8 - { lib, stdenv, fetchurl, gmp, autoreconfHook 8 + { lib 9 + , stdenv 10 + , fetchurl 11 + , gmp 12 + , autoreconfHook 13 + , buildPackages 9 14 }: 10 15 11 16 stdenv.mkDerivation { ··· 19 24 inherit patches; 20 25 21 26 strictDeps = true; 27 + depsBuildBuild = lib.optionals (lib.versionAtLeast version "0.24") [ buildPackages.stdenv.cc ]; 22 28 nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ]; 23 29 buildInputs = [ gmp ]; 24 30