From 85cc9660f9bf8cd69b2535bf67bf6af9536a1118 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Tue, 13 Feb 2024 19:48:13 +0100 Subject: [PATCH] Move things to `buildInputs` and add `glibc.out glibc.static` This fixes the nofile-limit.rs UI test. --- src/building/suggested.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 25a4b62e0..e0156f9b8 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -273,7 +273,10 @@ If you're using nix, you can use the following nix-shell to work on Rust: pkgs.mkShell { name = "rustc"; nativeBuildInputs = with pkgs; [ - gcc_multi binutils cmake ninja openssl pkg-config python39 git curl cacert patchelf nix + binutils cmake ninja pkg-config python3 git curl cacert patchelf nix + ]; + buildInputs = [ + openssl glibc.out glibc.static ]; # Avoid creating text files for ICEs. RUSTC_ICE = "0";