Tweak rust shell
This commit is contained in:
parent
3ac06942ab
commit
5fc17343cf
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue