guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: guix: import: opam: Use a default repository.


From: guix-commits
Subject: branch master updated: guix: import: opam: Use a default repository.
Date: Mon, 16 Mar 2020 19:06:29 -0400

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 06f0453  guix: import: opam: Use a default repository.
06f0453 is described below

commit 06f0453ad27c92633d3630dbe49a16dcb0281d04
Author: Julien Lepiller <address@hidden>
AuthorDate: Tue Mar 17 00:05:32 2020 +0100

    guix: import: opam: Use a default repository.
    
    * guix/import/opam.scm (opam->guix-package): Use a default value for
    `repository`.
---
 guix/import/opam.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 394415f..ae7df8a 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]