Skip to content

Commit b321f53

Browse files
committed
changelog additions from late backports
1 parent 69ed86e commit b321f53

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

release-notes/cabal-install-3.16.1.0.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,22 @@ cabal-install and cabal-install-solver 3.16.1.0 changelog and release notes
2727

2828
This adds the GHC Project Unit ID (ABI tag) and store path to the cabal path output as "compiler-abi-tag" and "compiler-store-path". These have been used in cabal-install since 3.12.1.0.
2929

30+
- Better error messages when repl command is missing a target [#10527](https://github.com/haskell/cabal/issues/10527) [#10684](https://github.com/haskell/cabal/pull/10684)
31+
32+
With a project, the REPL command requires a target. If one is not given then a
33+
message is shown explaining this and naming the project if the `--project-file`
34+
option was given (but not when the default 'cabal.project' project name is used
35+
implicitly). We're not yet able to list project targets so in the meantime, the
36+
messages lists the packages of the project.
37+
38+
Before the fix the message mentioned a `fake-package-0`. This was confusing. It is no longer mentioned.
39+
40+
- Fix regression when -b option is used in a non-project context [#11107](https://github.com/haskell/cabal/issues/11107) [#11237](https://github.com/haskell/cabal/pull/11237)
41+
42+
The `repl -b` option can be used to create a repl which contains certain specific
43+
packages.
44+
45+
`cabal repl -b vector`, starts a GHCi session with the `vector` package available.
46+
47+
The flag was broken in the 3.16.0.0 release, and now fixed.
48+

0 commit comments

Comments
 (0)