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