[Nix-dev] Re: Use shallow copying in fetchgit

Nicolas Pierron nicolas.b.pierron at gmail.com
Thu Jul 21 01:05:56 CEST 2011


Hi Peter,

Unfortunately, no expression are using it yet, but you can relace the
defaut script by it.  nix-prefect-git supports sub-modules and try to
reduce the amount which has to be downloaded by looking at a
corresponding reference.

On Thu, Jul 21, 2011 at 00:23, Peter Simons <simons at cryp.to> wrote:
> Hi Nicolas,
>
>  > nix-prefetch-git optimize the sha1 case by solving the sha1 /
>  > reference mapping when it exists, and it also supports submodules. So
>  > please use it instead of cloning parts of it.
>
> how do I use nix-prefetch-git in an expression? I couldn't find an
> example.
>
> Also, I wonder whether it supports sub-modules?
>
> Take care,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>



-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/



More information about the nix-dev mailing list