From cdbf7bf9644d5031d7cf3e45b0f672f9a056efe6 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 6 Jan 2024 16:36:22 +0300 Subject: [PATCH] Add cargo-expand and fetch with git CLI instead --- modules/rust/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/rust/default.nix b/modules/rust/default.nix index 265ebd5..2b94d94 100644 --- a/modules/rust/default.nix +++ b/modules/rust/default.nix @@ -1,10 +1,12 @@ -{ inputs, ulib, pkgs, ... }: with ulib; merge +{ inputs, ulib, pkgs, ... }: with ulib; merge3 (desktopSystemConfiguration { nixpkgs.overlays = [ inputs.fenix.overlays.default ]; }) (desktopSystemPackages (with pkgs; [ + cargo-expand + (fenix.complete.withComponents [ "cargo" "clippy" @@ -13,3 +15,7 @@ "rustfmt" ]) ])) + +(desktopHomeConfiguration { + programs.nushell.environmentVariables.CARGO_NET_GIT_FETCH_WITH_CLI = "true"; +})