Nixpkgs/Update Scripts: Difference between revisions

Makefu (talk | contribs)
No edit summary
Makefu (talk | contribs)
add info about nix-update, additional resources
Line 3: Line 3:
== Update Scripts ==
== Update Scripts ==
List of prepackaged update scripts.
List of prepackaged update scripts.
=== Git Updater ===
=== Git Updater ===


Line 35: Line 33:
};
};
</syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/unstable-updater.nix
</syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/unstable-updater.nix
=== nix-update by Mic92 ===
[https://github.com/Mic92/nix-update nix-update] works for a range of different sources and will do the right thing most of the time.<syntaxhighlight lang="nix">
passthru.updateScript = nix-update-script { };
</syntaxhighlight>
=== Additional Resources ===
* [https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#automatic-package-updates Contributing to nixpkgs - Automatic Package Updates (github.com/nixos/nixpkgs)]
[[Category:Nixpkgs]]
[[Category:Nixpkgs]]