provide libstdc++.so.6 through LD_LIBRARY_PATH

This commit is contained in:
DianQK 2024-06-19 22:42:27 +08:00 committed by Nilstrieb
parent ddfa50dedb
commit 13ecd00486

View file

@ -285,6 +285,10 @@ pkgs.mkShell {
];
# Avoid creating text files for ICEs.
RUSTC_ICE = "0";
# Provide `libstdc++.so.6` for the self-contained lld.
LD_LIBRARY_PATH = "${with pkgs; lib.makeLibraryPath [
stdenv.cc.cc.lib
]}";
}
```