about summary refs log tree commit diff
path: root/src/tools/nix-dev-shell/shell.nix
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2025-09-03 05:34:15 +0000
committerGitHub <noreply@github.com>2025-09-03 05:34:15 +0000
commit5f3197ffb11cc263efd31475781ef98c53750cb4 (patch)
tree5783612df63a41809930ecf425792bcaad347e22 /src/tools/nix-dev-shell/shell.nix
parent80c3ba803f15b124fdba2c93d2d167b88abb1e77 (diff)
parentd98a9c6931559f4b40a1913e74f3eb95c32c113c (diff)
downloadrust-5f3197ffb11cc263efd31475781ef98c53750cb4.tar.gz
rust-5f3197ffb11cc263efd31475781ef98c53750cb4.zip
Merge pull request #4560 from rust-lang/rustup-2025-09-03
Automatic Rustup
Diffstat (limited to 'src/tools/nix-dev-shell/shell.nix')
-rw-r--r--src/tools/nix-dev-shell/shell.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/nix-dev-shell/shell.nix b/src/tools/nix-dev-shell/shell.nix
index ad33b121f97..6ca8a7c4652 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.out
     pkgs.glibc.static
     x
     # Get the runtime deps of the x wrapper
@@ -23,5 +24,7 @@ pkgs.mkShell {
     # Avoid creating text files for ICEs.
     RUSTC_ICE = 0;
     SSL_CERT_FILE = cacert;
+    # cargo seems to dlopen libcurl, so we need it in the ld library path
+    LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath [pkgs.stdenv.cc.cc.lib pkgs.curl]}";
   };
 }