dotfiles/nix/home-manager/modules/rust.nix
Richard Brežák c98b2af55e Inputs in rlib modules and Nomad NixOS module
Signed-off-by: Richard Brežák <rbrezak@qualityunit.com>
2021-03-08 21:35:29 +01:00

12 lines
319 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib, inputs }:
{ 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
];
}