From: Csepp <raingloom@riseup.net>
To: 62359@debbugs.gnu.org
Cc: raingloom@riseup.net
Subject: [bug#62359] [PATCH] import: opam: opam->guix-package: Fix default repo argument.
Date: Tue, 21 Mar 2023 23:59:52 +0100 [thread overview]
Message-ID: <20230321225952.5138-1-raingloom@riseup.net> (raw)
* guix/import/opam.scm
(opam->guix-package): Make default repo a list of strings.
---
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 fa4f678593..4d353248d9 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -340,7 +340,7 @@ (define (opam->guix-source url-dict)
(sha256 (base32 ,(guix-hash-url temp)))))))
'no-source-information)))
-(define* (opam->guix-package name #:key (repo 'opam) version #:allow-other-keys)
+(define* (opam->guix-package name #:key (repo '("opam")) version #:allow-other-keys)
"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."
--
2.39.1
next reply other threads:[~2023-03-21 23:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 22:59 Csepp [this message]
2023-04-08 22:10 ` bug#62359: [PATCH] import: opam: opam->guix-package: Fix default repo argument Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230321225952.5138-1-raingloom@riseup.net \
--to=raingloom@riseup.net \
--cc=62359@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).