On Wed, Sep 12, 2018 at 08:52:36AM +0200, Ricardo Wurmus wrote:
> It does seem to work.  To test this I added (error "foo") to a build
> phase in the “diamond” package and ran
> 
>    guix package -i diamond
> 
> This ends with
> 
>    Build failed:  
> /gnu/store/wk9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv
>    guix package: error: build failed: build of 
> `/gnu/store/wk9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv' failed
> 
> So I ran
> 
>    guix build --log-file 
> /gnu/store/wk9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv
> 
> which gave me
> 
>    /var/log/guix/drvs/wk/9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv.bz2
> 
> which contains the build log for this failed build, including the "foo"
> error message.

Thanks Ricardo! I am still learning stuff. Very useful.

Pj.

Reply via email to