Commit graph

9 commits

Author SHA1 Message Date
Robert Hensing
1d46914457 feat(flakeModules): add packages etc for disabledModules 2026-05-04 14:18:29 +02:00
Robert Hensing
b437169e50 fix(inputs'): do not unnecessarily evaluate formatters
This compromises the ability to `inputs'?formatter`, but that seems
like a particularly rare use case.
Instead, we treat `inputs'` as another "programmatic" as opposed to
"polished" interfaces, similar to the `config` vs flake attributes
distinction.
The programmatic interfaces always prioritize laziness whereas the
polished interfaces may choose to omit known-missing things, to a
reasonable degree.
2026-05-04 13:42:13 +02:00
Robert Hensing
0abe17c05d Recommend touchup if formatter hack fails 2026-05-04 12:02:23 +01:00
Robert Hensing
9d0762c18a Add postprocessing, add flakeModules.touchup 2026-05-04 12:02:23 +01:00
Robert Hensing
157c95de4d Make formatter not strict in all systems and try to...
... avoid broken attributes in cases where we can predict that
we don't have any.

This is far from ideal, but it's the best we can do.
If it becomes a shit show, flake authors can opt out.
2026-05-03 11:02:31 +01:00
Robert Hensing
14a4a8d4fe chore: remove now-redundant custom eval tests 2026-05-02 23:30:55 +01:00
Robert Hensing
345165ec93 test: improve withSystem coverage, mkFlake does not force self 2026-05-02 23:30:55 +01:00
Robert Hensing
d0eab6eb51 chore: remove unused definition 2026-05-02 23:30:55 +01:00
Robert Hensing
a2c4a4a4e9 chore(dev/tests): port to nix-unit 2026-05-02 23:30:55 +01:00