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-parts template: make flake-parts input source explicit #1371

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

therealpxc
Copy link
Contributor

Prevents #1360, which occurs with the current template if a local flake registry (global, user, whatever) sets flake-parts directly to a path under /nix/store which is later garbage collected.

That issue seems like a pretty big footgun in its non-obviousness, and it's also a mess to clean up. I think it's probably better not to have any type: "indirect" stuff in the default flake.locks produced by our flake-parts template. This fix addresses the named issue in just that way.

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