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 <[email protected]> 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 > [email protected] > https://mail.cs.uu.nl/mailman/listinfo/nix-dev > -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
