--- Begin Message ---
Subject: |
importer opam: unsupported type in string-ci=? |
Date: |
Wed, 11 Oct 2023 11:06:34 +0200 |
Hi,
Using Guix 6113e05, I get this error:
--8<---------------cut here---------------start------------->8---
$ guix import opam odig
Starting download of /tmp/guix-file.Yahnl4
>From https://erratique.ch/software/odig/releases/odig-0.0.9.tbz...
odig-0.0.9.tbz 11.2MiB 550KiB/s 00:21 ▕██████████████████▏ 100.0%
Backtrace:
8 (primitive-load "/home/simon/.config/guix/current/bin/guix")
In guix/ui.scm:
2323:7 7 (run-guix . _)
2286:10 6 (run-guix-command _ . _)
In guix/scripts/import.scm:
90:11 5 (guix-import . _)
In guix/scripts/import/opam.scm:
105:24 4 (guix-import-opam . _)
In guix/import/opam.scm:
382:24 3 (opam->guix-package _ #:repo _ #:version _)
In guix/import/utils.scm:
300:2 2 (spdx-string->license ((string-pat "ISC") (string-pat
"LicenseRef-ParaType-Free-Font-License") (# …)))
In srfi/srfi-1.scm:
939:17 1 (assoc ((string-pat "ISC") (string-pat
"LicenseRef-ParaType-Free-Font-License") (string-pat "Li…")) _ …)
In unknown file:
0 (string-ci=? ((string-pat "ISC") (string-pat
"LicenseRef-ParaType-Free-Font-License") (# "Licen…")) #)
ERROR: In procedure string-ci=?:
In procedure string-ci=: Wrong type argument in position 1 (expecting string):
((string-pat "ISC") (string-pat "LicenseRef-ParaType-Free-Font-License")
(string-pat "LicenseRef-DejaVu-fonts"))
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
--- End Message ---
--- Begin Message ---
Subject: |
Re: [PATCH] guix: import: opam: Handle list of licenses. |
Date: |
Tue, 17 Oct 2023 14:56:38 +0200 |
Hi Josselin,
Cool, thank you for the quick fix.
On Sun, 15 Oct 2023 at 11:39, Josselin Poiret <dev@jpoiret.xyz> wrote:
> * guix/import/opam.scm (opam->guix-package): Handle lists of licenses.
> ---
> guix/import/opam.scm | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
LGTM. Pushed and closing.
Cheers,
simon
--- End Message ---