helm/modules/dev/rust.nix
2020-01-12 18:20:28 -05:00

11 lines
215 B
Nix

{ config, lib, pkgs, ... }:
{
my = {
packages = with pkgs; [ rustup ];
env.CARGO_HOME = "$XDG_DATA_HOME/cargo";
env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup";
env.PATH = [ "$CARGO_HOME/bin" ];
};
}