You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nixfmt-tree: refactor impl to use treefmt.withConfig
Refactor the new `nixfmt-tree` package, to make use of the new
`treefmt.withConfig` wrapper.
Breaking changes:
1. Overriding `settings` will no longer entirely replace all settings,
instead settings are now merged as modules.
2. Adding the package to a nix shell will no longer make runtime inputs
(such as `nixfmt`) available on the PATH, only the wrapped `treefmt`
will be added to the shell's PATH.
Non-breaking changes:
1. Introduced `runtimeInputs`, for consistency with `treefmt.withConfig`
and other parts of nixpkgs, such as `writeShellApplication`.
2. Introduced `nixfmtPackage` to allow specifying a different nixfmt
package, without having to know to override `nixfmt-rfc-style`.
3. Deprecated `runtimePackages` with a warning. Use the new args
instead.
0 commit comments