diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-08-19 15:23:41 +0200 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-08-19 15:23:41 +0200 |
commit | 06734a93e998bdc80676e2f5f43661f42c474be1 (patch) | |
tree | f4d33e4e51eefce3a5923c223ceccf366655830f | |
parent | b9c4bef0903b0d0b1136a59ad6b0cb332942522e (diff) | |
download | nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar.gz nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar.bz2 nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar.lz nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar.xz nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.tar.zst nixlib-06734a93e998bdc80676e2f5f43661f42c474be1.zip |
rustfmt: fix build on aarch64
-rw-r--r-- | pkgs/development/compilers/rust/rustfmt.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 |