mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-03 21:04:49 +03:00
Swiss-knife for updating nix packages.
nix-update.py | ||
README.md |
nix-update
Update nix packages likes it is 2020. This tool is still in early development.
Dependencies
- python 3
- nix-prefetch
USAGE
First change to your directory containing the nix expression (Could be a nixpkgs or your own repository). Than run nix-update
as follows
$ python nix-update.py attribute [version]
This example will fetch the latest github release:
$ python nix-update.py nixpkgs-review
It is also possible to specify the version manually
$ python nix-update.py nixpkgs-review 2.1.1
TODO
- make it a proper python/nix package
- optionally commit update
- optionally(?) build update