dotfiles/nix/home-manager/modules/rust.nix
2021-02-28 18:14:01 +01:00

13 lines
311 B
Nix

{ 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
];
}