Repository navigation
nix flake.lock - update inputs separately like dependabot? #43212
Unanswered
voidlily
asked this question in
Request Help
Replies: 1 comment
|
I'd also like this feature to be available. Currently the lock file maintenance approach for refreshing |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How are you running Renovate?
A Mend.io-hosted app
Which platform you running Renovate on?
GitHub.com
Which version of Renovate are you using?
43.159.2
Please tell us more about your question or problem
Recently, dependabot added support for nix - https://github.blog/changelog/2026-04-07-dependabot-version-updates-now-support-the-nix-ecosystem/
Dependabot's implementation creates a separate PR for each input in your flake. Example screenshot below
In my repo, as I'm pretty sure is common in other nix repos, flake.nix just contains the input urls, while flake.lock has the only reference to the actual commits
My question then is how can this behavior be replicated in dependabot so that I can get separate
nix flake update (input)for each input? For example, I may want to update nixpkgs more or less frequently than another input, like, say, home-manager, darwin, doom-emacs, or direnv-instant.renovate/lib/modules/manager/nix/extract.ts
Line 138 in e37778c
Is there something that would be easily updatable in either renovatebot config, or a code change, to support this use case of "urls only in flake.nix, actual revisions are pinned in flake.lock"?
Logs (if relevant)
https://gist.github.com/voidlily/2ba71b31dcf2825c80bd745f660cd3d8
All reactions