aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-08-06 11:04:43 -0700
committerLudovic Courtès <ludo@gnu.org>2021-09-01 23:41:42 +0200
commit16579a7c576d205ca78b22777d5ea14973faac7e (patch)
tree38b8b240bd0e45fb94d2afaf994ed80d3be9d26e
parent0e05bee4bed6c2a2df72296c15f6726c24e2bdc7 (diff)
downloadguix-16579a7c576d205ca78b22777d5ea14973faac7e.tar
guix-16579a7c576d205ca78b22777d5ea14973faac7e.tar.gz
import: go: Return false for package not found.
* guix/import/go.scm (go-module-recursive-import): Explicitly return false when packages are not found. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--guix/import/go.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/go.scm b/guix/import/go.scm
index 617a0d0e23..a4775f973f 100644
--- a/guix/import/go.scm
+++ b/guix/import/go.scm
@@ -668,7 +668,7 @@ This package and its dependencies won't be imported.~%")
(uri->string (http-get-error-uri c))
(http-get-error-code c)
(http-get-error-reason c))
- (values '() '())))
+ (values #f '())))
(receive (package-sexp dependencies)
(go-module->guix-package* name #:goproxy goproxy
#:version version