guix import -r swallows errors

  • Done
  • quality assurance status badge
Details
2 participants
  • Ricardo Wurmus
  • Simon Tournier
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 5 Oct 2022 17:37
(address . bug-guix@gnu.org)
87czb6nuus.fsf@elephly.net
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
S
S
Simon Tournier wrote on 15 May 2023 19:46
87ilctzdw6.fsf@gmail.com
Hi,

On mer., 05 oct. 2022 at 17:37, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (15 lines)
> 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.

S
S
Simon Tournier wrote on 19 May 2023 17:45
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 58308-done@debbugs.gnu.org)
87cz2wz5o7.fsf@gmail.com
Hi,

On lun., 15 mai 2023 at 19:46, Simon Tournier <zimon.toutoune@gmail.com> wrote:

Toggle quote (2 lines)
Pushed as d81701a85aa8aa96f4a853f06fe28693fa8bee12.

Closing.

Cheers,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 58308@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58308
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch