Skip to content

Conversation

@spikespaz
Copy link

@spikespaz spikespaz commented Apr 24, 2025

You don't need it.

This pull-request supercedes #60, which copies a function from flake-utils.

Instead of using this (arguably bad) abstraction, introduce eachSystem and pkgsFor.

Also removed is some faulty recursion, replace rec with recursion through self, as is intended by the Flakes interface.

I see that you use merge commits, and squash people's changes, so if you want me to make a separate pull-request for ee9cba5, just let me know. It is technically an independent change, and if you haven't seen the pattern before, might warrant some explanation.

You don't need it.

This commit supercedes
<mitchellh#60>,
which copies a function from `flake-utils`.

Instead of using this (arguably bad) abstraction,
introduce `eachSystem` and `pkgsFor`.
@spikespaz
Copy link
Author

This pull request is made in order to simplify the Ghostty flake, I'm running into some problems that require me to adjust their overlays, but a prerequisite to adopting a better pattern is the removal of flake-utils, which starts here.

@spikespaz
Copy link
Author

Could this PR please get some attention? I'm waiting for it to work on Ghostty's flake.

@llakala
Copy link

llakala commented Oct 29, 2025

@mitchellh can we get some review here? Would love to see this merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants