Skip to content

Commit 9328346

Browse files
committed
fix rust shell
1 parent b0e71a2 commit 9328346

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

nix/shells/rust.nix

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
with pkgs;
33
mkShell {
44
name = "devshell-rust";
5-
buildInputs =
6-
[
7-
rustup
8-
pkg-config
9-
openssl
10-
cargo-hakari
11-
cargo-outdated
12-
cargo-readme
13-
cargo-workspaces
14-
]
15-
++ (lib.optional stdenv.isDarwin (
16-
[ libiconv ]
17-
++ (with darwin.apple_sdk.frameworks; [
18-
DiskArbitration
19-
Foundation
20-
])
21-
));
5+
buildInputs = [
6+
rustup
7+
pkg-config
8+
openssl
9+
cargo-hakari
10+
cargo-outdated
11+
cargo-readme
12+
cargo-workspaces
13+
]
14+
++ (lib.optional stdenv.isDarwin ([
15+
libiconv
16+
apple-sdk
17+
]));
2218

2319
packages = [
2420
cargo-expand

0 commit comments

Comments
 (0)