NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.74k stars 1.52k forks source link

GitHub Dependabot feature request: `nix flake update` #9823

Open peterbecich opened 9 months ago

peterbecich commented 9 months ago

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

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.

KiaraGrouwstra commented 9 months ago

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 :(

peterbecich commented 4 months ago

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