Merge pull request #35331 from Mic92/cargo-fix

cargo: unbreak aarch64 build
This commit is contained in:
Jörg Thalheim 2018-02-22 11:58:07 +00:00 committed by GitHub
commit 163d038c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,9 @@ rustPlatform.buildRustPackage rec {
passthru.rustc = rustc;
# changes hash of vendor directory otherwise on aarch64
dontUpdateAutotoolsGnuConfigScripts = if stdenv.isAarch64 then "1" else null;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cacert file curl python openssl cmake zlib makeWrapper libgit2 ]
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv ];