me
/
guix
Archived
1
0
Fork 0

guix: import: opam: Use a default repository.

* guix/import/opam.scm (opam->guix-package): Use a default value for
`repository`.
Julien Lepiller 2020-03-17 00:05:32 +01:00
parent 19b7d41d34
commit 06f0453ad2
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 1 additions and 1 deletions

View File

@ -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."