On 06/01/2015 04:13 AM, Eric Seidel wrote:
> If you're trying to automate things, I bet github provides an API to get
> the latest revision or tag. Still an extra network request, but not as
> bad as cloning the whole repo. 

There's no real need for a separate api call. Just provide a tag/branch
name instead of the revision, e.g.:

nix-prefetch-zip https://github.com/NixOS/nixpkgs/archive/master.tar.gz


Vladimir


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to