unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29858: guix import hackage monadplus fails with a syntax error.
@ 2017-12-26 17:40 Alex ter Weele
  2018-01-01 16:58 ` Ludovic Courtès
  2018-02-25 16:34 ` bug#29858: Status: " Alex ter Weele
  0 siblings, 2 replies; 4+ messages in thread
From: Alex ter Weele @ 2017-12-26 17:40 UTC (permalink / raw)
  To: 29858

Here is what I tried:

  $ guix import hackage monadplus
  Syntax error: unexpected end of input
  guix import: error: failed to download cabal file for package 'monadplus'

I also tried manually downloading the cabal file and importing that:

  $ guix import hackage -s < ~/Downloads/monadplus.cabal
  Syntax error: unexpected end of input
  guix import: error: failed to import cabal file from standard input

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

* bug#29858: guix import hackage monadplus fails with a syntax error.
  2017-12-26 17:40 bug#29858: guix import hackage monadplus fails with a syntax error Alex ter Weele
@ 2018-01-01 16:58 ` Ludovic Courtès
  2018-02-25 16:34 ` bug#29858: Status: " Alex ter Weele
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-01-01 16:58 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: 29858

Hi Alex,

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> Here is what I tried:
>
>   $ guix import hackage monadplus
>   Syntax error: unexpected end of input
>   guix import: error: failed to download cabal file for package 'monadplus'
>
> I also tried manually downloading the cabal file and importing that:
>
>   $ guix import hackage -s < ~/Downloads/monadplus.cabal
>   Syntax error: unexpected end of input
>   guix import: error: failed to import cabal file from standard input

Could this be a duplicate of <https://bugs.gnu.org/25138>?

Essentially our Cabal parser doesn’t support the full syntax, which is
why some imports fail.  Would be nice to fix!

Ludo’.

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

* bug#29858: Status: guix import hackage monadplus fails with a syntax error.
  2017-12-26 17:40 bug#29858: guix import hackage monadplus fails with a syntax error Alex ter Weele
  2018-01-01 16:58 ` Ludovic Courtès
@ 2018-02-25 16:34 ` Alex ter Weele
  2018-02-26 15:16   ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Alex ter Weele @ 2018-02-25 16:34 UTC (permalink / raw)
  To: bug#29858

This may be closeable because I didn't notice that ghc-monadplus is
already a package.

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

* bug#29858: Status: guix import hackage monadplus fails with a syntax error.
  2018-02-25 16:34 ` bug#29858: Status: " Alex ter Weele
@ 2018-02-26 15:16   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-02-26 15:16 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: bug#29858

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> This may be closeable because I didn't notice that ghc-monadplus is
> already a package.

For now I’ve merged it with #23961, because it’s really a shortcoming in
the Cabal parser.

Thanks!

Ludo’.

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

end of thread, other threads:[~2018-02-26 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-26 17:40 bug#29858: guix import hackage monadplus fails with a syntax error Alex ter Weele
2018-01-01 16:58 ` Ludovic Courtès
2018-02-25 16:34 ` bug#29858: Status: " Alex ter Weele
2018-02-26 15:16   ` Ludovic Courtès

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).