1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 02:27:44 +00:00

fix: don't repeat pkgs.\w too much, add taplo, tokei, typos

This commit is contained in:
RGBCube 2025-03-25 21:06:27 +03:00
parent 79c9526b1b
commit 25d008fc47
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
13 changed files with 213 additions and 154 deletions

View file

@ -1,18 +1,24 @@
{ pkgs, ... }: {
{ lib, pkgs, ... }: let
inherit (lib) attrValues;
in {
environment.variables.CARGO_NET_GIT_FETCH_WITH_CLI = "true";
environment.systemPackages = [
pkgs.cargo-expand
pkgs.cargo-fuzz
environment.systemPackages = attrValues {
inherit (pkgs)
cargo-expand
cargo-fuzz
pkgs.evcxr
evcxr
(pkgs.fenix.complete.withComponents [
taplo
;
fenix = pkgs.fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
];
];
};
}