about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorWaffle Lapkin <waffle.lapkin@gmail.com>2025-08-15 16:14:39 +0200
committerWaffle Lapkin <waffle.lapkin@gmail.com>2025-08-15 16:16:25 +0200
commit1d00627966f6fd477ae6d7e855749c16cd00202b (patch)
tree7520758589756e7e8cf6c71e7975c4e5f16aed18 /src
parentbe00ea1968d8d5afb5d93d2dedeb97a8bba300cb (diff)
downloadrust-1d00627966f6fd477ae6d7e855749c16cd00202b.tar.gz
rust-1d00627966f6fd477ae6d7e855749c16cd00202b.zip
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
Diffstat (limited to 'src')
-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);