guix import hackage fails on key:value

OpenSubmitted by Robert Vollmert.
Details
One participant
  • Robert Vollmert
Owner
unassigned
Severity
normal
R
R
Robert Vollmert wrote on 16 Jul 2019 16:02
(address . bug-guix@gnu.org)
2DCCAF13-6983-40AF-AD15-27A6222902CB@vllmrt.net
Apparently, it’s valid for a cabal file to have key-value pairswithout a space, e.g.
benchmark benchmarks type: exitcode-stdio-1.0 main-is:Speed.hs hs-source-dirs:test default-language: Haskell2010 build-depends: base < 5, criterion, diagrams-core, diagrams-lib
from http://hackage.haskell.org/package/diagrams-lib-1.4.2.3/revision/2.cabal
guix import hackage breaks on this:
$ guix import hackage diagrams-libImporting `diagrams-lib` from hackageSyntax error: unexpected token : main-is:Speed.hs (at line 175, column 2)Syntax error: unexpected end of inputguix import: error: failed to download cabal file for package 'diagrams-lib'
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 36690@debbugs.gnu.org