[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to always keep build tree when run guix build.
From: |
Efraim Flashner |
Subject: |
Re: How to always keep build tree when run guix build. |
Date: |
Wed, 17 Jan 2024 10:34:45 +0200 |
On Wed, Jan 17, 2024 at 04:21:05PM +0800, Adam Faiz wrote:
> Hello,
>
> > Hello:
> >
> > How to always keep build tree when run guix build, at the moment, I
> > use --keep-failed, but it will remove build tree when build success, the
> > problem is that build success alway not right build success :-), I need
> > go to build tree to check some thing.
> >
> > Thanks!
> >
> >
> > --
>
> You can add the `--cache-failures` option when starting the guix-daemon,
> which tells it to keep the build failures by default.
> It's explained in more detail in the "Invoking guix-daemon" section of the
> Guix manual:
> https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix_002ddaemon.html
'--cache-failures' keeps track of build failures and then refuses to
build that derivation again if it's already known to fail. I don't
think there's something like '--keep-failed' for guix-daemon.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature