summaryrefslogtreecommitdiff
path: root/guix/import/opam.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/import/opam.scm')
-rw-r--r--guix/import/opam.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 394415fdd4..ae7df8a8b5 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -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."