mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
31 lines
525 B
Nix
31 lines
525 B
Nix
{ config, lib, pkgs, ... }: let
|
|
inherit (lib) makeLibraryPath mkIf;
|
|
in {
|
|
environment.variables = {
|
|
CARGO_NET_GIT_FETCH_WITH_CLI = "true";
|
|
|
|
LIBRARY_PATH = mkIf config.isDarwin <| makeLibraryPath [
|
|
pkgs.libiconv
|
|
];
|
|
};
|
|
|
|
environment.systemPackages = [
|
|
pkgs.cargo-deny
|
|
pkgs.cargo-expand
|
|
pkgs.cargo-fuzz
|
|
pkgs.cargo-nextest
|
|
|
|
pkgs.evcxr
|
|
|
|
pkgs.taplo
|
|
|
|
|
|
(pkgs.fenix.complete.withComponents [
|
|
"cargo"
|
|
"clippy"
|
|
"rust-src"
|
|
"rustc"
|
|
"rustfmt"
|
|
])
|
|
];
|
|
}
|