emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#48701: closed (cabal import parser doesn't support common stanzas)


From: GNU bug Tracking System
Subject: bug#48701: closed (cabal import parser doesn't support common stanzas)
Date: Thu, 01 Jul 2021 15:12:02 +0000

Your message dated Thu, 01 Jul 2021 17:10:40 +0200
with message-id <179f24db-0e33-4144-9b86-f0b6fdf8bd27@www.fastmail.com>
and subject line Closed by 48943
has caused the debbugs.gnu.org bug report #48701,
regarding cabal import parser doesn't support common stanzas
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48701: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48701
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: cabal import parser doesn't support common stanzas Date: Thu, 27 May 2021 15:21:43 +0200 User-agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b
As far as I can tell, the cabal parser for the `guix import` command 
(https://git.savannah.gnu.org/cgit/guix.git/tree/guix/import/cabal.scm) does 
not support common stanzas, as specified in the cabal specification 
(https://cabal.readthedocs.io/en/3.4/cabal-package.html#common-stanzas).

This means that some packages, like "versions" 
(https://hackage.haskell.org/package/versions-5.0.0/src/versions.cabal) and all 
depending packages cannot be imported using `guix import hackage versions`:

```
$ guix import hackage versions
Syntax error: unexpected token : common (at line 36, column 0)
Syntax error: unexpected end of input
guix import: error: failed to download cabal file for package 'versions'
```



--- End Message ---
--- Begin Message --- Subject: Closed by 48943 Date: Thu, 01 Jul 2021 17:10:40 +0200 User-agent: Cyrus-JMAP/3.5.0-alpha0-530-gd0c265785f-fm-20210616.002-gd0c26578
This issue has been fixed by #48943 and should be closed.


--- End Message ---

reply via email to

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