Skip to content

Commit 43e5359

Browse files
committed
fixup nix dev shell again
1 parent d829133 commit 43e5359

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/nix-dev-shell/shell.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pkgs.mkShell {
1414
packages = [
1515
pkgs.git
1616
pkgs.nix
17+
pkgs.glibc.out
1718
pkgs.glibc.static
1819
x
1920
# Get the runtime deps of the x wrapper
@@ -23,5 +24,7 @@ pkgs.mkShell {
2324
# Avoid creating text files for ICEs.
2425
RUSTC_ICE = 0;
2526
SSL_CERT_FILE = cacert;
27+
# cargo seems to dlopen libcurl, so we need it in the ld library path
28+
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath [pkgs.stdenv.cc.cc.lib pkgs.curl]}";
2629
};
2730
}

0 commit comments

Comments
 (0)