Skip to content

Commit

Permalink
Make fetchFromGitHub return an additional attr rev
Browse files Browse the repository at this point in the history
This means it is more consistent with fetchgit which returns rev.
  • Loading branch information
joelmo committed Aug 18, 2015
1 parent e31e286 commit bf5eece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf5eece

Please sign in to comment.