mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
treewide: get rid of attrValues pattern because nixd doesn't support goto def on it
This commit is contained in:
parent
30d4b5e421
commit
372df8b48a
11 changed files with 160 additions and 196 deletions
|
@ -1,34 +1,31 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) attrValues makeLibraryPath mkIf;
|
||||
inherit (lib) makeLibraryPath mkIf;
|
||||
in {
|
||||
environment.variables = {
|
||||
CARGO_NET_GIT_FETCH_WITH_CLI = "true";
|
||||
|
||||
LIBRARY_PATH = mkIf config.isDarwin <| makeLibraryPath <| attrValues {
|
||||
inherit (pkgs)
|
||||
libiconv
|
||||
;
|
||||
};
|
||||
LIBRARY_PATH = mkIf config.isDarwin <| makeLibraryPath [
|
||||
pkgs.libiconv
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
cargo-deny
|
||||
cargo-expand
|
||||
cargo-fuzz
|
||||
cargo-nextest
|
||||
environment.systemPackages = [
|
||||
pkgs.cargo-deny
|
||||
pkgs.cargo-expand
|
||||
pkgs.cargo-fuzz
|
||||
pkgs.cargo-nextest
|
||||
|
||||
evcxr
|
||||
pkgs.evcxr
|
||||
|
||||
taplo
|
||||
;
|
||||
pkgs.taplo
|
||||
|
||||
fenix = pkgs.fenix.complete.withComponents [
|
||||
|
||||
(pkgs.fenix.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
];
|
||||
};
|
||||
])
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue