flake inputs #540
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#540
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems currently not documented (nor ergonomic) to fetch flake in
config.inputs.I'd propose a new argument:
fetchFlakeInputwhich shells out toflake.lockto get the relevant info:This can be a trampoline to substitute
makes.lock.nixand other hard coded inputs in the case aflake.lockfile is detected and the corresponding "magic" input is present. — all without using anynix3functionality on the end-user side.Maybe we can rather implement this in the
inputsoption itself so that it gets auto-populated withflake.lockinputs if that file is present... 🤔 (with an option to make it explicit and self documentingadoptFlakeInputs = true;(falseby default).I think I'll iterate on this one, for now.
closed via #561