Skip to content

Commit 1f66af2

Browse files
authored
Use more compatible flag name
This flag name was changed without comment in 6e1ff78. It has caused a few problems: - commercialhaskell/stack#3345 - commercialhaskell/stackage#2755 - commercialhaskell/stackage#2759 - commercialhaskell/stackage#2842 - haskell/cabal#4686 - haskell-hvr#150 Those problems either caused or accelerated some (attempted) changes in Cabal: - haskell/cabal#4654 - haskell/cabal#4687 - haskell/cabal#4696 Those problems also caused a change in Stack: - commercialhaskell/stack#3349 In short: Cabal never had any trouble with this. Stack did. The current master version of Stack can handle flags like this, but no released versions of it can. It's not clear when the next version of Stack will be released. In the meantime, no Stack users can use this package. This commit changes the offending flag to something that Stack can handle. By using a flag that Stack can handle, Stack users can once again use this package, and it can return to Stackage. There are no apparent downsides to using a more compatible flag name.
1 parent f856d8e commit 1f66af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cassava.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ source-repository head
5050
type: git
5151
location: https://github.com/hvr/cassava.git
5252

53-
flag bytestring--LT-0_10_4
53+
flag bytestring-LT-0_10_4
5454
description: [bytestring](https://hackage.haskell.org/haskell/package/bytestring) < 0.10.4
5555

5656
Library
@@ -105,7 +105,7 @@ Library
105105
vector >= 0.8 && < 0.13,
106106
Only >= 0.1 && < 0.1.1
107107

108-
if flag(bytestring--LT-0_10_4)
108+
if flag(bytestring-LT-0_10_4)
109109
build-depends: bytestring < 0.10.4
110110
, bytestring-builder >= 0.10.8 && < 0.11
111111
else

0 commit comments

Comments
 (0)