Subject: bug#58308: closed (Re: bug#58308: guix import -r swallows errors)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 19 May 2023 16:34:02 +0000

Your bug report

#58308: guix import -r swallows errors

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58308: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58308
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58308: guix import -r swallows errors
From: Simon Tournier <[email-masked]>
To: Ricardo Wurmus <[email-masked]>
Cc: [email-masked]
Date: Fri, 19 May 2023 17:45:12 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

On lun., 15 mai 2023 at 19:46, Simon Tournier <[email-masked]> wrote:

> Fixed by <https://issues.guix.gnu.org/issue/63522>.

Pushed as d81701a85aa8aa96f4a853f06fe28693fa8bee12.

Closing.

Cheers,
simon

Subject: guix import -r swallows errors
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Wed, 05 Oct 2022 17:37:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Consider this:

   $ ./pre-inst-env guix import elpa -r syslog
   $ echo $?
   0

And now this:

   $ ./pre-inst-env guix import elpa syslog
   guix import: error: failed to download package 'syslog'
   $ echo $?
   1

The recursive importer swallows the error.

-- 
Ricardo