Cabal-install 3.14.2.0 released

Cabal team is happy to announce the release of cabal-install tool version 3.14.2.0 and related libraries.

Early adopters that have switched to the vanilla ghcup channel can already install it via

ghcup install cabal 3.14.2.0 && ghcup set cabal 3.14.2.0

while others may want to wait for the main ghcup channel to include the release, possibly with more architectures supported than on the vanilla channel. Another early adopter option is ghcup --no-cache install cabal -u 'https://gitlab.haskell.org/haskell/cabal/-/jobs/2159897/artifacts/raw/out/cabal-install-3.14.2.0-x86_64-linux-alpine3_18.tar.xz' 3.14.2.0-raw or a similar command for other OSes.

Fixed regressions

A number of regressions have been fixed, including:

  • GHC arguments are no longer swallowed by enabling documentation.
  • cabal now honours the -working-dir flag when executing testsuite executables.
  • cabal no longer creates duplicate environment variables when running test suites, benchmarks, or internal executables.
  • build-toold-depends tool are overridden by globally found executables no more.
  • cabal repl --enable-multi-repl works when only specifying some targets from a package.
  • cabal will not create a build/ folder or other folders in current working directory when running a script.

What is new

  • cabal check now warns about dubious bounds (e.g. lower bounds which are not inclusive or upper bounds with trailing zeroes).

Unresolved issues

  • Using short hashes in source-repository-package still doesn’t work.

Release notes

Check all the changes in the release notes:

Thanks

Thanks to our contributors:

Artem Pelenitsyn, Brandon S. Allbery, Bryan Richter, Francesco Ariis, Hécate Moonlight, James Blackburn, Javier Sagredo, Matthew Pickering, Mike Pilgrem, Mikolaj Konarski, Phil de Joux, PHO, Rebecca Turner, Yuto Takano.

Releases cannot happen without the fundamental work that reviewers, QA testers, devops, and everyone otherwise tending the Cabal machine does. Many thanks to all of you!

Feedback and get in touch

Want to ask questions? Provide feedback on the release? Help?

Find the Cabal team at #hackage:matrix.org and on GitHub.

19 Likes

This is not the proper command.

For one-shot installation without actually switching to vanilla, you do:

ghcup -s vanilla install cabal latest
4 Likes

Nifty, thank you. What would be the proper command if I wanted to get a binary flavour that’s not in the vanilla channel (the one in the example happens to be such) or the cabal-head binary generated continuously by CI?