bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars-Dominik Braun
Subject: bug#54752: import: hackage: `elif` conditionals not supported
Date: Sat, 14 May 2022 15:53:36 +0200

Hi Philip,

> 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.
attached patch series fixes the import for `raaz` by adding support for
elif and other minor adjustments. There still is syntax we do not support,
most importantly mixed indentation, which is already documented as xfail
via a testcase. I’m adding a few more.

Could you have a look please if these make sense?

Cheers,
Lars

Attachment: 0001-import-cabal-Support-elif-statement.patch
Description: Text document

Attachment: 0002-import-cabal-Allow-curly-brackets-in-more-positions.patch
Description: Text document

Attachment: 0003-import-cabal-Allow-properties-without-space-between-.patch
Description: Text document

Attachment: 0004-import-cabal-Allow-curly-bracket-before-else-stateme.patch
Description: Text document

Attachment: 0005-import-cabal-Document-failing-syntax-through-tests.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]