helm/modules/dev/rust.nix

11 lines
215 B
Nix
Raw Normal View History

2019-12-13 00:06:52 -08:00
{ config, lib, pkgs, ... }:
{
2020-01-12 15:17:17 -08:00
my = {
packages = with pkgs; [ rustup ];
env.CARGO_HOME = "$XDG_DATA_HOME/cargo";
env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup";
env.PATH = [ "$CARGO_HOME/bin" ];
2019-12-13 00:06:52 -08:00
};
}