Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 325bb43

Browse files
Rollup merge of #146060 - WaffleLapkin:fixup-nix-dev-shell-again, r=Noratrieb
fixup nix dev shell again r? Noratrieb
2 parents 0972fd9 + 43e5359 commit 325bb43

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)

AltStyle によって変換されたページ (->オリジナル) /