buildrustcrate-aarch64: update patch

This commit is contained in:
Luke Granger-Brown 2023-03-18 18:05:26 +00:00
parent ddc00228c9
commit e0ebec161a

View file

@ -47,7 +47,7 @@ index 819c43791048..4709bac36359 100644
+++ b/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix
@@ -15505,7 +15505,7 @@ with pkgs; @@ -15505,7 +15505,7 @@ with pkgs;
makeRustPlatform = callPackage ../development/compilers/rust/make-rust-platform.nix {}; makeRustPlatform = callPackage ../development/compilers/rust/make-rust-platform.nix { };
- buildRustCrate = callPackage ../build-support/rust/build-rust-crate { }; - buildRustCrate = callPackage ../build-support/rust/build-rust-crate { };
+ buildRustCrate = callPackage ../build-support/rust/build-rust-crate { stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc11Stdenv else stdenv; }; + buildRustCrate = callPackage ../build-support/rust/build-rust-crate { stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc11Stdenv else stdenv; };