tvl-depot/users/glittershark/system/home/modules/development/rust.nix
Griffin Smith 43355f1f92 feat(gs/system): Add some rust aliases
These take precedence over cabal old-style aliases, since those aren't
used anymore

Change-Id: Iad1593bffb35d8f7b9c7df16c7c2da09a6ebb906
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2220
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
2020-12-14 18:18:19 +00:00

16 lines
223 B
Nix

{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
rustup
rust-analyzer
cargo-edit
];
programs.zsh.shellAliases = {
"cg" = "cargo";
"cb" = "cargo build";
"ct" = "cargo test";
};
}