[Nix-dev] [Nix-commits] [NixOS/nixpkgs] 58ccf7: it seems fetchgit does not like version tags

Lluís Batlle i Rossell viric at viric.name
Sun Aug 12 09:59:35 CEST 2012


On Sat, Aug 11, 2012 at 06:37:32PM -0700, Nicolas Pierron wrote:
> Hi,
> 
> fetchgit & nix-prefetch-git have support for any references including
> tags which are just references, like branches.
> 
> refs/tags/tag-name

Maybe it could be made to have an attribute named 'tag' then? I don't see it
very evident, why I can't use "tagname" in the same place where I use "02341fabcd"
for 'rev'.

Maybe instead of 'rev', it could have "commit", "tag" and "branch" attributes?

Maybe rev ="refs/tags/tag-name" sounds evident for a git hacker, but not to me. :)
I can learn this. but I think of next fetchgit users that may hit this trouble.

> On Sat, Aug 11, 2012 at 3:13 AM, Lluís Batlle i Rossell
> <viric at viric.name> wrote:
> > It happened some time ago, that we discussed that fetchgit somehow does not
> > support tags (maybe some tricky syntax makes it work with them).
> >
> > nix-prefetch-git also had some issues.
> >
> > I don't know the status on those, but I think noone added tags support for
> > fetchgit. Maybe someone can update on that status?
> >
> > Regards,
> > Lluís.
> >
> > On Sat, Aug 11, 2012 at 02:47:18AM -0700, Mathijs Kwik wrote:
> >>   Branch: refs/heads/master
> >>   Home:   https://github.com/NixOS/nixpkgs
> >>   Commit: 58ccf70f479d6216781ecaf6fdb0329315ae689f
> >>       https://github.com/NixOS/nixpkgs/commit/58ccf70f479d6216781ecaf6fdb0329315ae689f
> >>   Author: Mathijs Kwik <mathijs at bluescreen303.nl>
> >>   Date:   2012-08-11 (Sat, 11 Aug 2012)
> >>
> >>   Changed paths:
> >>     M pkgs/applications/editors/emacs-modes/gh/default.nix
> >>     M pkgs/applications/editors/emacs-modes/logito/default.nix
> >>     M pkgs/applications/editors/emacs-modes/pcache/default.nix
> >>
> >>   Log Message:
> >>   -----------
> >>   it seems fetchgit does not like version tags
> >>
> >> I think they built ok on my system before, because I nix-prefetch-git'd them.
> >>
> >>
> >>
> >
> >> _______________________________________________
> >> nix-commits mailing list
> >> nix-commits at lists.science.uu.nl
> >> http://lists.science.uu.nl/mailman/listinfo/nix-commits
> >
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> -- 
> Nicolas Pierron
> http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list