Alex Sassmannshausen skribis:
> * guix/import/cpan.scm (cpan-module->sexp) : Test if version in
> meta is string or number. If it is number, coerce to string.
LGTM, thanks!
Ludo’.
* guix/import/cpan.scm (cpan-module->sexp) : Test if version in
meta is string or number. If it is number, coerce to string.
---
guix/import/cpan.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index 5b7c475..d244969 100644
Hello,
Sometimes json-fetch returns a number for version in the CPAN importer, when a
string is expected.
This simple patch performs a match on the value returned by json-fetch, to
coerce the number to string if necessary.
WDYT?
Alex
Alex Sassmannshausen (1):
import/cpan: Maybe coerce versio