[bug#62359] import: opam: opam->guix-package: Fix default repo argument.
Commit Message
* guix/import/opam.scm
(opam->guix-package): Make default repo a list of strings.
---
guix/import/opam.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi,
Csepp <raingloom@riseup.net> skribis:
> * guix/import/opam.scm
> (opam->guix-package): Make default repo a list of strings.
I adjusted the docstring accordingly and applied it, thanks!
Ludo’.
@@ -340,7 +340,7 @@ (define (opam->guix-source url-dict)
(sha256 (base32 ,(guix-hash-url temp)))))))
'no-source-information)))
-(define* (opam->guix-package name #:key (repo 'opam) version #:allow-other-keys)
+(define* (opam->guix-package name #:key (repo '("opam")) version #:allow-other-keys)
"Import OPAM package NAME from REPOSITORY (a directory name) or, if
REPOSITORY is #f, from the official OPAM repository. Return a 'package' sexp
or #f on failure."