Nix Flake: The wrong node is attempted to be updated by renovate when nodes.root.inputs has aliased nodes. #40866
Unanswered
tebriel
asked this question in
Request Help
Replies: 0 comments
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?
Self-hosted Renovate
Which platform you running Renovate on?
Forgejo
Which version of Renovate are you using?
43-full@sha256:ed1e4a46e2ac11b6c12fe1c359f8c8ad04ea6174b80eb2d18f94156bfb8600cc
Please tell us more about your question or problem
When using multiple inputs which themselves have
nixpkgsentries, a situation will occur where the flake.lock would need to refer tonixpkgstwice, once for the flake input and ones for the flake input's input. flake.lock solves this by populatingnodes.root.inputswith key=value of name=alias.Renovate only checks nodes against the key/name and if it matches, attempts to update that node. This can cause mismatches, it should actually use the alias to determine if a node is a root node.
https://github.com/tebriel/renovate-repro has a minmimal repro.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions