guix import hackage monadplus fails with a syntax error.

  • Done
  • quality assurance status badge
Details
2 participants
  • Alex ter Weele
  • Ludovic Courtès
Owner
unassigned
Submitted by
Alex ter Weele
Severity
normal
Merged with

Debbugs page

Alex ter Weele wrote 7 years ago
(address . bug-guix@gnu.org)
CAPWBkuZgW5hevpR7YogNwQDw7NzEu2mSQiyib01gs3cFY2Va3Q@mail.gmail.com
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
Ludovic Courtès wrote 7 years ago
(name . Alex ter Weele)(address . alex.ter.weele@gmail.com)(address . 29858@debbugs.gnu.org)
87efn91po1.fsf@gnu.org
Hi Alex,

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

Toggle quote (12 lines)
> 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’.
Alex ter Weele wrote 7 years ago
(address . 29858@debbugs.gnu.org)
045D8F69-754E-49D4-87ED-E89567BD3917@gmail.com
Quite likely. I will have to look into both. Happy new year!
Alex ter Weele wrote 7 years ago
Re: Status: guix import hackage monadplus fails with a syntax error.
(name . bug#29858)(address . 29858@debbugs.gnu.org)
87606lhvun.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me
This may be closeable because I didn't notice that ghc-monadplus is
already a package.
Ludovic Courtès wrote 7 years ago
Re: bug#29858: Status: guix import hackage monadplus fails with a syntax error.
(name . Alex ter Weele)(address . alex.ter.weele@gmail.com)(name . bug#29858)(address . 29858@debbugs.gnu.org)
874lm3wzle.fsf@gnu.org
Alex ter Weele <alex.ter.weele@gmail.com> skribis:

Toggle quote (3 lines)
> 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’.
Ludovic Courtès wrote 7 years ago
control message for bug #29858
(address . control@debbugs.gnu.org)
878tbfwzm6.fsf@gnu.org
merge 29858 23961
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 29858
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help