rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere

It's needed on ARM nowadays as well, so just put it everywhere.
wip/yesman
Tuomas Tynkkynen 6 years ago
parent 751f10e84d
commit 7e0561370b
  1. 4
      pkgs/development/compilers/rust/cargo.nix
  2. 4
      pkgs/development/compilers/rust/rustc.nix

@ -19,8 +19,8 @@ rustPlatform.buildRustPackage rec {
passthru.rustc = rustc;
# changes hash of vendor directory otherwise on aarch64
dontUpdateAutotoolsGnuConfigScripts = if stdenv.isAarch64 then "1" else null;
# changes hash of vendor directory otherwise
dontUpdateAutotoolsGnuConfigScripts = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cacert file curl python openssl cmake zlib makeWrapper libgit2 ]

@ -32,8 +32,8 @@ stdenv.mkDerivation {
__darwinAllowLocalNetworking = true;
# The build will fail at the very end on AArch64 without this.
dontUpdateAutotoolsGnuConfigScripts = if stdenv.isAarch64 then true else null;
# rustc complains about modified source files otherwise
dontUpdateAutotoolsGnuConfigScripts = true;
# Running the default `strip -S` command on Darwin corrupts the
# .rlib files in "lib/".

Loading…
Cancel
Save