nix icon indicating copy to clipboard operation
nix copied to clipboard

GitHub Dependabot feature request: `nix flake update`

Open peterbecich opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. This is actually a request for the GitHub Dependabot: https://github.com/dependabot/dependabot-core/issues/7340

It would be great i.m.o. to have the Dependabot run nix flake update.

Describe the solution you'd like

Dependabot would make PRs such as

  • Bump flake.nix
  • a specific input Bump flake.nix input nixpkgs from 2676ce to abcdef.

i.e. this Dependabot PR https://github.com/haskell/hackage-server/pull/1286

Having the Dependabot make the call nix flake update could be very complicated.

I realize nix flake update partially builds the Flake to check for compatibility. In addition to the checks in nix flake update, the Dependabot user would need to implement more checks in a Nix Flake GitHub Action to ensure the update causes no breakages.

Describe alternatives you've considered

Additional context

Priorities

Add :+1: to issues you find important.

peterbecich avatar Jan 20 '24 22:01 peterbecich

on a related note there's also competing projects like renovate, tho as far as i can tell each of them appears to be only open-core at this point :(

KiaraGrouwstra avatar Feb 14 '24 08:02 KiaraGrouwstra

Can this be integrated with the Dependabot? https://github.com/DeterminateSystems/update-flake-lock

peterbecich avatar Jun 27 '24 23:06 peterbecich