From 06734a93e998bdc80676e2f5f43661f42c474be1 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Mon, 19 Aug 2019 15:23:41 +0200 Subject: rustfmt: fix build on aarch64 --- pkgs/development/compilers/rust/rustfmt.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/compilers/rust') diff --git a/pkgs/development/compilers/rust/rustfmt.nix b/pkgs/development/compilers/rust/rustfmt.nix index d7bcb994313f..537bdaf445cd 100644 --- a/pkgs/development/compilers/rust/rustfmt.nix +++ b/pkgs/development/compilers/rust/rustfmt.nix @@ -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 -- cgit 1.4.1