about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-18 15:31:13 +1000
committerGitHub <noreply@github.com>2025-08-18 15:31:13 +1000
commit3b396fcf7b345094a83d667744660f4b2ecf13e2 (patch)
tree0ebc5e47bb7539f1ce28a178c4b3d8e90cac5b0f
parentaa2dcbe583037bdd13e0f1f5bcf5933d589481a8 (diff)
parent1d00627966f6fd477ae6d7e855749c16cd00202b (diff)
downloadrust-3b396fcf7b345094a83d667744660f4b2ecf13e2.tar.gz
rust-3b396fcf7b345094a83d667744660f4b2ecf13e2.zip
Rollup merge of #145451 - WaffleLapkin:norailoveyou, r=Noratrieb
Add static glibc to the nix dev shell

This fixes `tests/ui/process/nofile-limit.rs` which fails to link on nixos for me without this change.
-rw-r--r--src/tools/nix-dev-shell/shell.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/nix-dev-shell/shell.nix b/src/tools/nix-dev-shell/shell.nix
index 0adbacf7e8d..ad33b121f97 100644
--- a/src/tools/nix-dev-shell/shell.nix
+++ b/src/tools/nix-dev-shell/shell.nix
@@ -14,6 +14,7 @@ pkgs.mkShell {
   packages = [
     pkgs.git
     pkgs.nix
+    pkgs.glibc.static
     x
     # Get the runtime deps of the x wrapper
   ] ++ lists.flatten (attrsets.attrValues env);