unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48701: cabal import parser doesn't support common stanzas
@ 2021-05-27 13:21 Philip Munksgaard
  2021-07-01 15:10 ` bug#48701: Closed by 48943 Philip Munksgaard
  0 siblings, 1 reply; 3+ messages 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] 3+ messages in thread

* bug#48701: Closed by 48943
  2021-05-27 13:21 bug#48701: cabal import parser doesn't support common stanzas Philip Munksgaard
@ 2021-07-01 15:10 ` Philip Munksgaard
  2021-07-13  0:17   ` Bone Baboon via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Munksgaard @ 2021-07-01 15:10 UTC (permalink / raw)
  To: 48701-done

This issue has been fixed by #48943 and should be closed.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48701: Closed by 48943
  2021-07-01 15:10 ` bug#48701: Closed by 48943 Philip Munksgaard
@ 2021-07-13  0:17   ` Bone Baboon via Bug reports for GNU Guix
  0 siblings, 0 replies; 3+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-07-13  0:17 UTC (permalink / raw)
  To: Philip Munksgaard; +Cc: 48701, 48701-done

Philip Munksgaard writes:

> This issue has been fixed by #48943 and should be closed.

You can close a bug report by emailing NNN-done@debbugs.gnu.org where
NNN is the bug number.

For the body of the email you can say something like "Closing because
<reason>".




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-13  0:22 UTC | newest]

Thread overview: 3+ messages (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
2021-07-01 15:10 ` bug#48701: Closed by 48943 Philip Munksgaard
2021-07-13  0:17   ` Bone Baboon via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).