GNU bug report logs - #54752
import: hackage: `elif` conditionals not supported

Previous Next

Package: guix;

Reported by: "Philip Munksgaard" <philip <at> munksgaard.me>

Date: Wed, 6 Apr 2022 16:21:01 UTC

Severity: normal

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Philip Munksgaard" <philip <at> munksgaard.me>
Subject: bug#54752: closed (Re: import: hackage: `elif` conditionals not
 supported)
Date: Mon, 06 Jun 2022 11:32:02 +0000
[Message part 1 (text/plain, inline)]
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 54752 <at> debbugs.gnu.org.

-- 
54752: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54752
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Philip Munksgaard <philip <at> munksgaard.me>
Cc: 54752-done <at> debbugs.gnu.org
Subject: Re: import: hackage: `elif` conditionals not supported
Date: Mon, 6 Jun 2022 13:31:39 +0200
Hi,

fix pushed to master in commit 2c5d18e421e6c06f4a969f98585ec41aae8eb2e4.

Cheers,
Lars


[Message part 3 (message/rfc822, inline)]
From: "Philip Munksgaard" <philip <at> munksgaard.me>
To: bug-guix <at> gnu.org
Subject: import: hackage: `elif` conditionals not supported
Date: Wed, 06 Apr 2022 18:19:49 +0200
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



This bug report was last modified 2 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.