unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#48701: cabal import parser doesn't support common stanzas
@ 2021-05-27 13:21 Philip Munksgaard
  0 siblings, 0 replies; only message in thread
From: Philip Munksgaard @ 2021-05-27 13:21 UTC (permalink / raw)
  To: 48701

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'
```




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-29 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 13:21 bug#48701: cabal import parser doesn't support common stanzas Philip Munksgaard

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git