Make fetchFromGitHub return an additional attr rev
This means it is more consistent with fetchgit which returns rev.
This commit is contained in:
parent
e31e28602f
commit
bf5eece51d
@ -398,7 +398,7 @@ let
|
||||
inherit name sha256;
|
||||
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
|
||||
meta.homepage = "https://github.com/${owner}/${repo}/";
|
||||
};
|
||||
} // { inherit rev; };
|
||||
|
||||
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
||||
inherit name sha256;
|
||||
|
Loading…
Reference in New Issue
Block a user