mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #232776 from trofi/isl_0_24-zhf
isl_0_24: pull CC_FOR_BUILD
This commit is contained in:
commit
191f1a50b8
|
@ -5,7 +5,12 @@
|
||||||
, patches ? []
|
, patches ? []
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ lib, stdenv, fetchurl, gmp, autoreconfHook
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, gmp
|
||||||
|
, autoreconfHook
|
||||||
|
, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -19,6 +24,7 @@ stdenv.mkDerivation {
|
||||||
inherit patches;
|
inherit patches;
|
||||||
|
|
||||||
strictDeps = true;
|
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 ];
|
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue