fetchFromSavannah: add passthru.gitRepoUrl

This can be used by update scripts such as unstableGitUpdater[1].

[1]: 1dcca7a82a/pkgs/common-updater/unstable-updater.nix (L15)
This commit is contained in:
Lin Jian 2024-10-29 18:07:10 +08:00
parent 1dcca7a82a
commit cf3f6beff7
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -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; }
)