dotfiles/nixos/hm-modules/rust.nix

13 lines
311 B
Nix
Raw Normal View History

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, ... }:
{
home.packages = let
nightly = custom.rust.nightly.latest.rust.override {
extensions = [ "clippy" ];
targets = [ "x86_64-unknown-linux-gnu" "x86_64-unknown-linux-musl" ];
};
in [
nightly
];
}