fetchFromSavannah: add passthru.gitRepoUrl
This can be used by update scripts such as unstableGitUpdater[1]. [1]: https://github.com/NixOS/nixpkgs/blob/1dcca7a82a44651ad3ab19b83b4e2bc7c4f661f6/pkgs/common-updater/unstable-updater.nix#L15
This commit is contained in:
@@ -8,5 +8,6 @@ lib.makeOverridable (
|
||||
inherit name;
|
||||
url = "https://git.savannah.gnu.org/cgit/${repo}.git/snapshot/${repo}-${rev}.tar.gz";
|
||||
meta.homepage = "https://git.savannah.gnu.org/cgit/${repo}.git/";
|
||||
passthru.gitRepoUrl = "https://git.savannah.gnu.org/git/${repo}.git";
|
||||
} // removeAttrs args [ "repo" "rev" ]) // { inherit rev; }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user