-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Description
hackage-cli add-bound cannot deal with the following structure, taken from https://hackage.haskell.org/package/regex-compat-tdfa-0.95.1.4/revision/0.cabal :
library
if flag(newBase)
Build-Depends: base >= 4 && < 5, regex-base >= 0.93, regex-tdfa >= 1.1.0, array
else
if flag(splitBase)
Build-Depends: base >= 3.0, regex-base >= 0.93, regex-tdfa >= 1.1.0, array
else
Build-Depends: base < 3.0, regex-base >= 0.93, regex-tdfa >= 1.1.0It reports for hackage-cli add-bound base '<4.15':
Edit failed, version ranges don't match: <0 && <4.15 =/= <4.15