heimer: simplify fetched rev, safe for sane repos.

Suggested by @doronbehar in PR review, thanks!
This commit is contained in:
Will Dietz 2019-12-31 21:34:59 -06:00
parent dd6e5066e8
commit b5f7f21677
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -7,7 +7,7 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "juzzlin"; owner = "juzzlin";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = version;
sha256 = "1gw4w6cvr3vb4zdb1kq8gwmadh2lb0jd0bd2hc7cw2d5kdbjaln7"; sha256 = "1gw4w6cvr3vb4zdb1kq8gwmadh2lb0jd0bd2hc7cw2d5kdbjaln7";
}; };