guix-devel
[Top][All Lists]
Advanced

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

[PATCH] import/cpan: Maybe coerce version to string


From: Alex Sassmannshausen
Subject: [PATCH] import/cpan: Maybe coerce version to string
Date: Sat, 12 Nov 2016 18:20:04 +0100

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 version to string.

 guix/import/cpan.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.10.1




reply via email to

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