[Nix-dev] Hydra, nix-prefetch-git, and TopGit

Lluís Batlle i Rossell viriketo at gmail.com
Wed Mar 9 23:52:29 CET 2011


On Wed, Mar 09, 2011 at 11:40:11PM +0100, Ludovic Courtès wrote:
> Hello!
> 
> I’m trying to see how to apply the recipe at
> <http://www.bddebian.com:8888/~hurd-web/source_repositories/glibc/> from
> within a Git clone produced by Hydra.
> 
> A plain ‘git clone’ doesn’t fetch objects references by the
> TopGit-managed branches, so ‘tg remote --populate’ is really needed.
> However, ‘tg remote --populate’ wants to fetch data from the network,
> which is not possible from within a Nix build chroot.

Also 'git clone' uses the network, but it produces a fixed output derivation,
which fits your case also. Can't you use that same aproach?



More information about the nix-dev mailing list