You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And adding HDBC to the build-depends of the cabal file. Issuing stack build now gives:
While constructing the BuildPlan the following exceptions were encountered:
-- Failure when adding dependencies:
time: needed (>=1.5 && <1.6), but 1.4.2 found
needed for package: HDBC-2.4.0.1
-- Failure when adding dependencies:
HDBC: needed (-any), but couldn't resolve its dependencies
needed for package: new-template-0.1.0.0
Even though, according to the cabal file in HDBC, with minTime15 on false it should depend on time < 1.5.
The text was updated successfully, but these errors were encountered:
I've figured it out: it needs to be mintime15 (without a capital t). Cabal accepts both, and the cabal file lists it with a capital t, so this is pretty confusing. Should I leave this open?
Flag names are case-insensitive? That's... surprising. Yeah, let's leave this open, I'll update the title.
snoyberg
changed the title
Cannot resolve HDBC with time 1.4, even with flags
Handle case-insensitive flag names WAS Cannot resolve HDBC with time 1.4, even with flags
Jun 24, 2015
Pinging @chrisdone. This isn't terribly efficient, since it requires
converting to lower case for each comparison. Better would be using the
same approach as the case-insensitive library. You think it's worth
doing that here?
This is similar to #396, but I can't get it to work even with flags. I can again reproduce with
stack new
, the followingstack.yaml
:And adding
HDBC
to thebuild-depends
of the cabal file. Issuingstack build
now gives:Even though, according to the cabal file in
HDBC
, withminTime15
onfalse
it should depend ontime < 1.5
.The text was updated successfully, but these errors were encountered: