[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: User-Friendlyness of Guix and non-scaryness, printing messages
From: |
Ludovic Courtès |
Subject: |
Re: User-Friendlyness of Guix and non-scaryness, printing messages |
Date: |
Sat, 17 Jun 2017 22:16:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Danny Milosavljevic <address@hidden> skribis:
> On Tue, 30 May 2017 10:24:34 +0200
> Ricardo Wurmus <address@hidden> 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’.