guix: import: opam: Use a default repository.
* guix/import/opam.scm (opam->guix-package): Use a default value for `repository`.
parent
19b7d41d34
commit
06f0453ad2
|
@ -250,7 +250,7 @@ path to the repository."
|
|||
(substring version 1)
|
||||
version)))))
|
||||
|
||||
(define* (opam->guix-package name #:key repository)
|
||||
(define* (opam->guix-package name #:key (repository (get-opam-repository)))
|
||||
"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."
|
||||
|
|
Reference in New Issue