Skip to content

Commit

Permalink
Update rust init shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Apr 4, 2024
1 parent d1fdd63 commit 8e84b3f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions home/bin/init-nix-shell
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ mkShell rec {
packages = [
rustup
clang
] ++ lib.optionals stdenv.isDarwin [
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
libiconv
] ++ lib.optionals stdenv.isLinux [
]) ++ lib.optionals stdenv.isLinux [
mold
];
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
LD_LIBRARY_PATH = lib.makeLibraryPath packages;
env = {
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
LD_LIBRARY_PATH = lib.makeLibraryPath packages;
};
}
"""

Expand Down

0 comments on commit 8e84b3f

Please sign in to comment.