GNU bug report logs - #58308
guix import -r swallows errors

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Wed, 5 Oct 2022 15:40:02 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 58308 <at> debbugs.gnu.org
Subject: bug#58308: guix import -r swallows errors
Date: Wed, 05 Oct 2022 17:37:23 +0200
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




This bug report was last modified 2 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.