Ludovic Courtès (2015-06-19 11:26 +0300) wrote: > Alex Kost <alez...@gmail.com> skribis: [...] >> I agree, getting an error is better than a broken link, so I'm for >> making (#:recursive? #f) a default. And resolving symlinks would >> probably be even better. > > Done in commits 020f3e4 and 7833db1.
I see, thank you! >>>> (define (call-derivation drv) >>>> (apply system* >>>> (cons (derivation-builder drv) >>>> (derivation-builder-arguments drv)))) >>> >>> This is quite original. ;-) >> >> I suppose that's a polite version of "That's not how it should be done". > > Well, yes and no; I find it clever actually. > >> I just don't know what the proper way to "call" derivation is :-) > > With ‘build-derivations’, which lets guix-daemon built it on your behalf > in a container. > > Roughly, what the daemon does is: > > (eval-in-container > #~(apply system* > (cons (derivation-builder drv) > (derivation-builder-arguments drv)))) > > in terms of David’s forthcoming ‘eval-in-container’. ;-) Thanks for the explanation. -- Alex