Skip to content

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎release-notes/Cabal-3.12.0.0.md

+12
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ Cabal and Cabal-syntax 3.12.0.0 changelog and release notes
6161
added. It can now be used in the `default-language` and `other-languages`
6262
fields, and will be offered as an option by `cabal init`.
6363
64+
- Remove `initialBuildSteps` from `Distribution.Simple.Build` [#9474](https://github.com/haskell/cabal/pull/9474)
65+
66+
Calling `initialBuildSteps` to prepare source files for a package is error
67+
prone, as `initialBuildSteps` only handles things like the paths module
68+
and nothing else.
69+
70+
To mimick `initialBuildSteps` behaviour when there is no custom Setup, you
71+
can call `repl_setupHooks`.
72+
73+
If you are dealing with a custom setup, you have to invoke
74+
`./Setup repl --repl-multi-file`.
75+
6476
### Other changes
6577
6678
- `cabal init` should not suggest Cabal < 2.0 [#8680](https://github.com/haskell/cabal/issues/8680)

0 commit comments

Comments
 (0)
Please sign in to comment.