Merge pull request #66919 from basvandijk/rustfmt-fix-aarch64

rustfmt: fix build on aarch64
This commit is contained in:
Robin Gloster 2019-08-19 13:56:31 +00:00 committed by GitHub
commit cb1b9497f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,9 @@ rustPlatform.buildRustPackage rec {
preBuild = "pushd src/tools/rustfmt";
preInstall = "popd";
# changes hash of vendor directory otherwise
dontUpdateAutotoolsGnuConfigScripts = true;
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler