feat(dev): add devenv and remove unused cargo tools #94

Merged
jalil merged 1 commit from trim-dev-pkgs into main 2024-10-04 22:38:53 +02:00
Showing only changes of commit 584945f1e8 - Show all commits

View file

@ -193,6 +193,7 @@ in
}; };
neovimAsManPager = lib.mkEnableOption "neovim as the man pager"; neovimAsManPager = lib.mkEnableOption "neovim as the man pager";
extraPackages = mkExtraPackagesOption "dev" [ extraPackages = mkExtraPackagesOption "dev" [
[ "devenv" ] # a devshell alternative
[ "jq" ] # json parser [ "jq" ] # json parser
[ "just" ] # just a command runner [ "just" ] # just a command runner
[ "typos" ] # low false positive rate typo checker [ "typos" ] # low false positive rate typo checker
@ -208,10 +209,7 @@ in
options.enable = lib.mkEnableOption "rust development settings"; options.enable = lib.mkEnableOption "rust development settings";
options.extraPackages = mkExtraPackagesOption "Rust" [ options.extraPackages = mkExtraPackagesOption "Rust" [
[ "cargo-insta" ] # snapshot testing [ "cargo-insta" ] # snapshot testing
[ "cargo-llvm-cov" ] # code coverage
[ "cargo-msrv" ] # minimum supported version
[ "cargo-nextest" ] # better testing harness [ "cargo-nextest" ] # better testing harness
[ "cargo-sort" ] # sort deps and imports
[ "cargo-udeps" ] # check for unused dependencies (requires nightly) [ "cargo-udeps" ] # check for unused dependencies (requires nightly)
[ "cargo-watch" ] # watch for file changes and run commands [ "cargo-watch" ] # watch for file changes and run commands
]; ];