[Nix-dev] fetchgit - why sha256 protection?

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Nov 19 16:31:26 CET 2012


Hi,

On 19/11/12 15:47, Marc Weber wrote:

>> A similar solution for rubygems would probably not be too hard.
>> As rubygems itself is written in ruby, you can probably plug in to its
>> dependency resolution and downloading capabilities so you can focus on
>> generating the sha256 and the nix expression.
> If you still haven't got it: I worte nixpkgs-ruby-overlay which already
> does it. I also wrote hack-nix packaging all hackage - and I did so
> after having disregarder a 80% working attempt doing it the nodejs
> way.
> I'm looking for packaging fast changing dev versions of
> packages. And then I don't want to wait for any double fetches.

Why would you need a "double fetch"?  After running fetchgit, the Git tree is in
the Nix store and shouldn't be downloaded again unless you do a garbage collect
in between.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list