mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 14:32:59 +00:00
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:
parent
1dcca7a82a
commit
cf3f6beff7
@ -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; }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user