mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere
It's needed on ARM nowadays as well, so just put it everywhere.
This commit is contained in:
parent
751f10e84d
commit
7e0561370b
|
@ -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…
Reference in a new issue