diff --git a/third_party/nixpkgs/patches/buildrustcrate-aarch64-linux.patch b/third_party/nixpkgs/patches/buildrustcrate-aarch64-linux.patch index 68954d9100..b25123747e 100644 --- a/third_party/nixpkgs/patches/buildrustcrate-aarch64-linux.patch +++ b/third_party/nixpkgs/patches/buildrustcrate-aarch64-linux.patch @@ -47,7 +47,7 @@ index 819c43791048..4709bac36359 100644 +++ b/pkgs/top-level/all-packages.nix @@ -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 { stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc11Stdenv else stdenv; };