#haskell folk: how do I verify that my package can be built with bytestring 0.12? There is no GHC releases that bundle that version yet. Is there some flag that could tell it to use a version from Hackage rather than the one included into the GHC distribution?

@minoru Just specify the version in the cabal file of the target package and then call cabal to install them deps?

@L29Ah Why do I have to install them? Can't I make Cabal pull it from Hackage like every other dependency?

I don't want to pollute my system with packages installed via Cabal. Although I think Cabal now has some sort of a sandbox, perhaps I should look into that.

Follow

@minoru Doesn't it pull them like every other dependency when you adjust your cabal file and hit `cabal build`?

· · xmpp_gate · 1 · 0 · 0

@L29Ah Oops! I was specifying --constrain 'bytestring == 1.12.0.2', which failed because 1.12.0.2 doesn't exist. The error message looked just like the one I get if a dependency can't be satisfied.

Thanks :)

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.