Hello,

Danny Milosavljevic <dan...@scratchpost.org> skribis:

> On Tue, 30 May 2017 10:24:34 +0200
> Ricardo Wurmus <rek...@elephly.net> wrote:
>
>> Upon failure it can print the location of the build log.
>
> I'm trying to get this to work but 
>
>   guix build --log-file foo
>
> doesn't seem to print the location of the build log in the failure case...

It should work (for local builds at least).  Perhaps you also need
--no-grafts?  Or maybe there’s a bug.

> Is it possible to get to it somehow?

Sure, just look for in in /var/log/guix/drvs.

> Apparently the log files go into log/guix/drvs - but I can't find the place 
> where the build log is created in the first place...

The logs are named after the derivation; see ‘log-file’ in (guix store).

HTH!

Ludo’.

Reply via email to