Subject: bug#35743: closed (Re: guix import hackage: fails with mixed indentation)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 03 Dec 2023 08:17:02 +0000

Your bug report

#35743: guix import hackage: fails with mixed indentation

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

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

Subject: Re: guix import hackage: fails with mixed indentation
From: Lars-Dominik Braun <[email-masked]>
To: Robert Vollmert <[email-masked]>
Cc: [email-masked]
Date: Sun, 3 Dec 2023 09:16:24 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

> http://hackage.haskell.org/package/warp-3.2.27/warp.cabal
> http://hackage.haskell.org/package/streaming-commons-0.2.1.0/streaming-commons.cabal
> 
> contain things along the following lines:

these should be fixed by the patch in #67564.

Cheers,
Lars

Subject: guix import hackage wai-app-static fails (comment syntax?)
From: Robert Vollmert <[email-masked]>
To: [email-masked]
Date: Wed, 15 May 2019 11:12:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

$ guix import hackage wai-app-static
Syntax error: unexpected token : (ghc-options (-Wall)) (at line 106, column 2)

The relevant extract of the cabal file is:

test-suite runtests
[…]
    build-depends:   base                      >= 4        && < 5
[…]
                   , mockery
                   -- , containers
  ghc-options:   -Wall

Presumably the double dash comment is tripping `guix import` up.