0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/manager/nix/readme.md
Sandro 441a30f8e0
feat(nix): rework to work with all flake inputs (#31921)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-authored-by: Mathieu Fenniak <biziqe@mathieu.fenniak.net>
2025-01-31 07:56:17 +00:00

637 B

The nix manager supports:

For specifying packageRules it is important to know how depName and packageName are defined for nix updates:

  • The depName field is equal to the nix flake input name, eg. nix.inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; would have the depName of nixpkgs
  • The packageName field is equal to the fully-qualified root URL of the package source, eg. https://github.com/NixOS/nixpkgs for the above example.