Excerpts from Peter Simons's message of Thu Jul 21 01:14:23 +0200 2011:
That's the code
pkgs/build-support/fetchgit/nix-prefetch-git

Its doing this:

        git fetch --depth 1 origin +"$ref" || return 1

Didn't know that you can fetch hash's that way.
You can git fetch --depth 100 then try 200 then 500 .. to find it as
well. If Pierron's solution works its best.

Marc Weber
_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to