Subject: bug#48166: Dont stop the upgrade process - Better guix handling when Package failed to build

From: Ludovic Courtès <[email-masked]>
Date: Tue, 04 May 2021 21:57:49 +0200

Hi,

Julien Lepiller <[email-masked]> skribis:

> To do what you want (create a new generations ignoring failures) is not easy to implement. We would have to "change our mind" and build a different derivation for that new profile.

It’s also not desirable IMO: the way Guix operates is that either it
succeeds the operation you asked for, or it fails, but it never “changes
its mind” in the middle.

Instead, I think what would improve usability would be to notify the
user upfront when a package is known to fail to build.  The build farm
could state that when it replies to narinfo requests, and ‘guix’
commands would print a warning or even stop upfront by default.

Thanks,
Ludo’.