provide `libstdc++.so.6` through `LD_LIBRARY_PATH`
This commit is contained in:
parent
b97fd6c266
commit
3f1e015a75
|
|
@ -285,6 +285,10 @@ pkgs.mkShell {
|
||||||
];
|
];
|
||||||
# Avoid creating text files for ICEs.
|
# Avoid creating text files for ICEs.
|
||||||
RUSTC_ICE = "0";
|
RUSTC_ICE = "0";
|
||||||
|
# Provide `libstdc++.so.6` for the self-contained lld.
|
||||||
|
LD_LIBRARY_PATH = "${with pkgs; lib.makeLibraryPath [
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
]}";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue