Cut down on flake input dependencies #613
Labels
epic: usability-end-users
Relates to the usability of Topiary for endusers to use Topiary as a generic "good enough" formatter
P2
major: an upcoming release
Is your feature request related to a problem? Please describe.
When I include this flake as an input, I get a number of dependencies that I now have to manage. I don’t think these are necessary:
numtide:flake-utils
,numtide:nix-filter
and can be inlined for less code than the import+usage+flake.lock lines. The default systems should benixpkgs.lib.systems.flakeExposed
& flake-utils doesn’t include some of these systems.Describe the solution you'd like
Inline the for loop from
flake-utils
. Usebuiltins.path { path = …; filter = path: type: …; }
to replacenix-filter
or uselib.fileset
.Describe alternatives you've considered
tolerating the dependency tree exploding as each input necessitates different versions with flakes
Additional context
1
Footnotes
Please consider giving up MS GitHub or offering a non-proprietary, non-US-corporate-controlled mirror for this free software project. I wish to delete this Microsoft account in the future, but I need more projects like this to support alternative methods to send patches & contribute. ↩
The text was updated successfully, but these errors were encountered: