pkgs/by-name/tr/treefmt/build-config.nix
deleted100644 → 0
+0
−30
pkgs/by-name/tr/treefmt/lib.nix
0 → 100644
+98
−0
+9
−0
+40
−0
Loading
Introduces a new modules-based implementation that is used by both `withConfig` and `buildConfig`. Previously we used a module eval for `settings`. This PR makes it so that all args passed to `withConfig` are now module options. `settings` is now a submodule of the wider `evalConfig` configuration. As well as being a better overall design (IMO), using a module eval enables adding additional options in the future. E.g. we could add `programs` options similar to those maintained by treefmt-nix.