Subject: bug#29858: closed (fixed a while back)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Jun 2019 12:37:03 +0000

Your bug report

#23961: guix import hackage monadplus fails with a syntax error.

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23961: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23961
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: fixed a while back
From: Robert Vollmert <[email-masked]>
To: [email-masked]
Date: Sun, 16 Jun 2019 14:36:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

commit 314b63e0b4372681aec165113ae2a0349eaaa357
Author: Danny Milosavljevic <[email-masked]>
Date:   Wed Jul 11 11:02:51 2018 +0200

    import: hackage: Support "custom-setup" field.
    
    Fixes <https://bugs.gnu.org/23961>.
    
    * guix/import/cabal.scm (make-cabal-parser): Modify.
    (is-custom-setup): New variable.
    (lex-custom-setup): New procedure.
    (is-id): Modify.
    (lex-version): Modify.
    (<cabal-custom-setup>): New record type.
    (eval-cabal): Modify.
    (dependencies): Add parameter.

Subject: guix import hackage monadplus fails with a syntax error.
From: Alex ter Weele <[email-masked]>
To: [email-masked]
Date: Tue, 26 Dec 2017 12:40:02 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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