minoru,
@minoru@functional.cafe avatar

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?

romes,
@romes@mastodon.joaoleitao.org avatar

@minoru If your bounds allow 0.12, and you’ve run cabal update to fetch the latest versions from hackage, then cabal build should pick 0.12 if I’m not mistaken.

And setting the lower bound as @jaror mentioned should force 0.12

minoru,
@minoru@functional.cafe avatar

@jaror @romes Thank you both! The mystery is already solved, please see earlier comments. Turns out I was specifying a non-existent version to --constrain, but didn't notice it because the error message for "version doesn't exist" looks the same as for "version couldn't be used because it doesn't satisfy constraints". The Universe seem to be pushing me to contribute to Cabal as of late :)

jaror,
@jaror@kbin.social avatar

@minoru Does adding a lower bound not work?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines