mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
guix: import: opam: Use a default repository.
* guix/import/opam.scm (opam->guix-package): Use a default value for `repository`.
This commit is contained in:
parent
19b7d41d34
commit
06f0453ad2
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ (define* (opam-fetch name #:optional (repository (get-opam-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."
|
||||
|
|
Loading…
Reference in a new issue