unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35883: guix import hackage: recursive import fails silently on errors
@ 2019-05-24 13:59 Robert Vollmert
  0 siblings, 0 replies; only message in thread
From: Robert Vollmert @ 2019-05-24 13:59 UTC (permalink / raw)
  To: 35883


$ guix import hackage not-a-package
guix import: error: failed to download cabal file for package 'not-a-package’
$ echo $?
1
$ guix import hackage -r not-a-package
$ echo $?
0

It might be argued that the error code is fine, since in general it could be
useful for the recursive import to keep going past failures. However it seems
such failures should be logged, and ideally written to standard output in some
form like

(error “import failed: <package name>”)

so they could be found clearly in the generated expression.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-24 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24 13:59 bug#35883: guix import hackage: recursive import fails silently on errors Robert Vollmert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).