From 5fc17343cf6f4f6c4a344842f3c22947dcd962d9 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 1 Dec 2024 10:49:05 +0000 Subject: [PATCH] Tweak rust shell --- devshells/rust.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/devshells/rust.nix b/devshells/rust.nix index 7a8160a..5207e18 100644 --- a/devshells/rust.nix +++ b/devshells/rust.nix @@ -3,21 +3,8 @@ perSystem = { config, pkgs, ... }: { - devshells.rust = { - env = [ - { - name = "RUSTC_WRAPPER"; - value = "${pkgs.sccache}/bin/sccache"; - } - ]; - commands = [ - # { - # help = "print hello"; - # name = "hello"; - # command = "echo hello"; - # } - ]; - packages = with pkgs; [ + devShells.rust = pkgs.mkShell { + buildInputs = with pkgs; [ # Rust toolchain clang rustup