From e0ebec161a3e38808c3694e0b14177cbca969adc Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 18 Mar 2023 18:05:26 +0000 Subject: [PATCH] buildrustcrate-aarch64: update patch --- third_party/nixpkgs/patches/buildrustcrate-aarch64-linux.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };