diff options
author | Marius Bakke <marius@gnu.org> | 2023-01-03 15:38:13 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2023-01-03 15:38:13 +0100 |
commit | 9123bb0fba3fce976dc41cd3b8919ee73b4cee4d (patch) | |
tree | 50ba63a4a3a6ffeb2f37fd0929813b51e00d01dc /guix/import/go.scm | |
parent | ec0fbb471dfc6f72796da9ebafbb0630daa91267 (diff) | |
parent | 71ee1fbbed8ea9788dd48a634653d66606d372ce (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'guix/import/go.scm')
-rw-r--r-- | guix/import/go.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/import/go.scm b/guix/import/go.scm index d00c13475a..90d4c8931d 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -602,7 +602,8 @@ available versions:~{ ~a~}.") (define* (go-module->guix-package module-path #:key (goproxy "https://proxy.golang.org") version - pin-versions?) + pin-versions? + #:allow-other-keys) "Return the package S-expression corresponding to MODULE-PATH at VERSION, a Go package. The meta-data is fetched from the GOPROXY server and https://pkg.go.dev/. When VERSION is unspecified, the latest version available is used." @@ -687,7 +688,7 @@ This package and its dependencies won't be imported.~%") package-name #:repo->guix-package (memoize - (lambda* (name #:key version repo) + (lambda* (name #:key version repo #:allow-other-keys) (receive (package-sexp dependencies) (go-module->guix-package* name #:goproxy goproxy #:version version |