forked from mirrors/nixpkgs
cargo: unbreak aarch64 build
This commit is contained in:
parent
1c67ee4ff6
commit
a7ab32ba98
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue