GNU bug report logs - #62359
[PATCH] import: opam: opam->guix-package: Fix default repo argument.

Previous Next

Package: guix-patches;

Reported by: Csepp <raingloom <at> riseup.net>

Date: Tue, 21 Mar 2023 23:01:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62359 in the body.
You can then email your comments to 62359 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62359; Package guix-patches. (Tue, 21 Mar 2023 23:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Csepp <raingloom <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 21 Mar 2023 23:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Csepp <raingloom <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: raingloom <at> riseup.net
Subject: [PATCH] import: opam: opam->guix-package: Fix default repo argument.
Date: Tue, 21 Mar 2023 23:59:52 +0100
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 08 Apr 2023 22:11:01 GMT) Full text and rfc822 format available.

Notification sent to Csepp <raingloom <at> riseup.net>:
bug acknowledged by developer. (Sat, 08 Apr 2023 22:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 62359-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Csepp <raingloom <at> riseup.net>
Cc: 62359-done <at> debbugs.gnu.org
Subject: Re: bug#62359: [PATCH] import: opam: opam->guix-package: Fix
 default repo argument.
Date: Sun, 09 Apr 2023 00:10:17 +0200
Hi,

Csepp <raingloom <at> riseup.net> skribis:

> * guix/import/opam.scm
>   (opam->guix-package): Make default repo a list of strings.

I adjusted the docstring accordingly and applied it, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 May 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.