Tweak rust shell

This commit is contained in:
Nathan McCarty 2024-12-01 10:49:05 +00:00
parent 3ac06942ab
commit 5fc17343cf

View file

@ -3,21 +3,8 @@
perSystem = perSystem =
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
devshells.rust = { devShells.rust = pkgs.mkShell {
env = [ buildInputs = with pkgs; [
{
name = "RUSTC_WRAPPER";
value = "${pkgs.sccache}/bin/sccache";
}
];
commands = [
# {
# help = "print hello";
# name = "hello";
# command = "echo hello";
# }
];
packages = with pkgs; [
# Rust toolchain # Rust toolchain
clang clang
rustup rustup