cargo: unbreak aarch64 build

This commit is contained in:
Jörg Thalheim 2018-02-22 11:46:30 +00:00
parent 1c67ee4ff6
commit a7ab32ba98

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 ];