guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/07: import: go: Return false for package not found.


From: guix-commits
Subject: 05/07: import: go: Return false for package not found.
Date: Wed, 1 Sep 2021 17:43:51 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 16579a7c576d205ca78b22777d5ea14973faac7e
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Fri Aug 6 11:04:43 2021 -0700

    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>
---
 guix/import/go.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/go.scm b/guix/import/go.scm
index 617a0d0..a4775f9 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]