Subject: bug#54752: closed (Re: import: hackage: `elif` conditionals not supported)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 06 Jun 2022 11:32:02 +0000

Your bug report

#54752: import: hackage: `elif` conditionals not supported

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

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

Subject: Re: import: hackage: `elif` conditionals not supported
From: Lars-Dominik Braun <[email-masked]>
To: Philip Munksgaard <[email-masked]>
Cc: [email-masked]
Date: Mon, 6 Jun 2022 13:31:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

fix pushed to master in commit 2c5d18e421e6c06f4a969f98585ec41aae8eb2e4.

Cheers,
Lars

Subject: import: hackage: `elif` conditionals not supported
From: "Philip Munksgaard" <[email-masked]>
To: [email-masked]
Date: Wed, 06 Apr 2022 18:19:49 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Since Cabal 2.2 conditional blocks support the `elif` construct [0], but our hackage importer does not currently support such expressions. This causes importing packages like `raaz` [1] to fail.

0: https://cabal.readthedocs.io/en/latest/cabal-package.html?highlight=elif#conditional-blocks
1: https://hackage.haskell.org/package/raaz