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

Peter Simons simons at cryp.to
Thu Jul 21 00:23:28 CEST 2011


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




More information about the nix-dev mailing list