diff --git a/nix/shell.nix b/nix/shell.nix index 5df9c82..9df0432 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -1,28 +1,26 @@ { mkShell, - rust-analyzer, + rustc, + cargo, rustfmt, clippy, - cargo, - gcc, - openssl, - pkg-config, - rustc, + taplo, + rust-analyzer-unwrapped, + rustPlatform, }: mkShell { - name = "eris"; + name = "rust"; + packages = [ - rust-analyzer - rustfmt + rustc + cargo + + (rustfmt.override {asNightly = true;}) clippy cargo - gcc - clippy - rustfmt - rustc - - # For TLS and friends - openssl - pkg-config + taplo + rust-analyzer-unwrapped ]; + + RUST_SRC_PATH = "${rustPlatform.rustLibSrc}"; }