[Nix-dev] nix-prefetch-git in nixpkgs

Vladimír Čunát vcunat at gmail.com
Wed Jun 6 17:15:12 CEST 2012


Hi.

On 4 June 2012 21:01, Lluís Batlle i Rossell <viric at viric.name> wrote:
> I can't understand how nix-prefetch-git works.
> If I call:
>  ./nix-prefetch-git git://gitorious.org/qt-labs/jom.git v1.0.11
> it does not fetch anything and gives always the same hash.
>
> If I call:
>  ./nix-prefetch-git --url git://gitorious.org/qt-labs/jom.git --rev v1.0.11
> it says: unknown flag '--rev'.
>
>
> So, do I fail to understand how to call nix-prefetch-git, or it is very wrong? :)


I never used it but this calling works for me:
./nix-prefetch-git git://gitorious.org/qt-labs/jom.git
28235fb362e3b6eafbbff29bb7c552a353235fdb

But there seem to be at least some incompatibility between
documentation and behaviour.

Vlada


More information about the nix-dev mailing list