numtide / treefmt

one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
https://treefmt.com
MIT License
575 stars 35 forks source link

The default nix flake installable is heavy #160

Closed TristanCacqueray closed 2 years ago

TristanCacqueray commented 2 years ago

Is your feature request related to a problem? Please describe.

Running nix run github:numtide/treefmt pulls about 5GB of dependencies. It seems like the linters are somehow downloaded even when they are not used.

Describe the solution you'd like

The default app should be lightweight and downloading the linters tools should be optional.

TristanCacqueray commented 2 years ago

With #161, running nix run github:numtide/treefmt/4dfda7d263b752527351dd6459aee7600fe63b4f now only pulls the rust toolchain, which is about 1.6GB.