Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flake: drop flake-utils #179

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

getchoo
Copy link
Contributor

@getchoo getchoo commented Nov 29, 2024

Help avoid polluting the lockfile of downstream consumers and their own users

Depends on NuschtOS/ixx#45

Help avoid polluting the lockfile of downstream consumers and their own
users
@getchoo getchoo marked this pull request as draft November 29, 2024 03:18
@MarcelCoding
Copy link
Member

MarcelCoding commented Nov 29, 2024

In downstream flakes you can just override the flake input using an empty string and the whole search is removed.


Flake utils is such a wildly used flake that I would argue that this is not polluting because you could just override the input that every input uses the same flake utils.

@getchoo
Copy link
Contributor Author

getchoo commented Nov 29, 2024

Flake utils is such a wildly used flake that I would argue that this is not polluting because you could just override the input that every input uses the same flake utils.

This becomes a lot harder with development-related flakes like this, though -- unless the flake being pulled in directly by the end user also has a flake-utils input. In my case this is actually the only introduction of flake-utils, so it's a little annoying

In downstream flakes you can just override the flake input using an empty string and the whole search is removed.

But yeah, this is still a solution and should probably be done anyways by users. I just figured it could make things a little more convenient for users at the cost of a few lines of boilerplate here

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