Nixpkgs/Update Scripts: Difference between revisions

Makefu (talk | contribs)
add info about nix-update, additional resources
Move nix-update-script to top of prepackaged update scripts section
Line 3: Line 3:
== Update Scripts ==
== Update Scripts ==
List of prepackaged update scripts.
List of prepackaged update scripts.
=== 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>
=== Git Updater ===
=== Git Updater ===


Line 33: Line 39:
};
};
</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 ===
=== Additional Resources ===