Could fetchgit handle that on its own though? Also, at least for github, if you want to install a specific tag, which isn't always the case, you can link to the .zip copy of it from the github page.
/M Shea Levy <s...@shealevy.com> writes: > Is it terribly difficult to run nix-prefetch-git? Built-in vcs-specific > support doesn't strike me as simplification. > > On Nov 19, 2012, at 7:10 AM, Joachim Schiele <j...@lastlog.de> wrote: > >> ----- Original message ----- >> > Excerpts from Eelco Dolstra's message of Mon Nov 19 11:36:00 +0100 2012: >> > > No. "fetchgit" won't work if it's not a fixed-output derivation, >> > > because it won't necessarily have network access (it might run in a >> > > chroot). >> > Again: I'm not talking about the current state. I'm aware about how it >> > works. >> > I'm talking about: >> > "Does it make sense to introduce a special fixed hash for git repos" or >> > "what about implementing git checkouts natively so that passing the >> > git's hash is enough"? >> > git sources are very common today. >> >> True, simplification sounds like a good idea. >> >> >> > Marc Weber >> > _______________________________________________ >> > nix-dev mailing list >> > nix-dev@lists.science.uu.nl >> > http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >> >> _______________________________________________ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev