Nixpkgs/Update Scripts: Difference between revisions
Add all optional arguments to unstableGitUpdater |
No edit summary |
||
| Line 11: | Line 11: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
passthru.updateScript = gitUpdater { | passthru.updateScript = gitUpdater { | ||
ignoredVersions = ""; # Optional - Filter to ignore versions | ignoredVersions = ""; # Optional - (grep -E) Filter to ignore versions | ||
rev-prefix = "v"; # Optional - set if tags have a prefix before the version number | allowedVersions = ""; # Optional - (grep -E) Filter to ignore versions | ||
rev-prefix = "v"; # Optional - set if tags have a prefix before the version number | |||
odd-unstable = false; # Optional - Ignore odd numberd versions | odd-unstable = false; # Optional - Ignore odd numberd versions | ||
patchlevel-unstable = false; # Optional - Ignore patchlevel versions | patchlevel-unstable = false; # Optional - Ignore patchlevel versions | ||
url = null; # Optional - Set this to a git url when the src is not a git repo | url = null; # Optional - Set this to a git url when the src is not a git repo | ||
}; | }; | ||
</syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/git-updater.nix | </syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/git-updater.nix | ||