From dd7e41eb64c9e5f6903f0ad58a413610344c89d1 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 31 Oct 2025 23:12:18 +0300 Subject: [PATCH] nix: clean up devshell Signed-off-by: NotAShelf Change-Id: Ia844e89f1450cce1625c57c9d81279706a6a6964 --- nix/shell.nix | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) 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}"; }