diff options
author | José Romildo <malaquias@gmail.com> | 2022-09-27 17:49:23 -0300 |
---|---|---|
committer | José Romildo <malaquias@gmail.com> | 2022-09-27 23:41:53 -0300 |
commit | f15117a8740afa450a048b1abf99a962dabbd616 (patch) | |
tree | 2c102401c8fa676cafd249b35cd411ff868fea56 /pkgs/common-updater/git-updater.nix | |
parent | 6910e5840f961621b440a3fcf57d503a96d5e645 (diff) |
generic-updater: more flexible with name, pname, version and attr path
- This information is availabe from environment variables defined by maintainers/scripts/update.nix - Renamed the shell script to generic-update-script.sh - Add a new optional argument (representing the package name) to the shell script - The version lister is called with a new optional argument (representing the package attribute path)
Diffstat (limited to 'pkgs/common-updater/git-updater.nix')
-rw-r--r-- | pkgs/common-updater/git-updater.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/common-updater/git-updater.nix b/pkgs/common-updater/git-updater.nix index b68f4a29011d6..86bf88ada8c41 100644 --- a/pkgs/common-updater/git-updater.nix +++ b/pkgs/common-updater/git-updater.nix @@ -3,9 +3,9 @@ , common-updater-scripts }: -{ pname -, version -, attrPath ? pname +{ pname ? null +, version ? null +, attrPath ? null , ignoredVersions ? "" , rev-prefix ? "" , odd-unstable ? false |