1 Cabal 3.6.1.0 Changelog
4 ### Significant Changes
6 - Include cmm-sources when linking shared objects [#7182](https://github.com/haskell/cabal/issues/7182) [#7252](https://github.com/haskell/cabal/pull/7252)
8 - Previously `cmm-sources` were not included in the final link when building a library as a shared object. Fix this.
10 - Prefer canonicalized path when guessing tools from GHC path [#7390](https://github.com/haskell/cabal/issues/7390) [#7392](https://github.com/haskell/cabal/pull/7392)
14 Often times, the user facing `ghc` binary is
15 symlinked by other forces, such as the package manager,
16 tooling like ghcup etc. As such, the naming convention
17 (version suffix in particular) may not align with the
18 assumptions made in Cabal and it may find an incorrect ghc-pkg.
21 - https://github.com/haskell/cabal/issues/7390
22 - https://gitlab.haskell.org/ghc/ghc/-/issues/18807
23 - https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/73
27 Guessing the ghc-pkg path is already a hack and will be solved
28 more appropriately in the future, see
29 - https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4214
30 - https://gitlab.haskell.org/ghc/ghc/-/snippets/2710
31 These patches will solve the issue for future GHC versions.
33 As such, this patch provides a workaround for
34 older, already existing GHC versions by first always
35 following the symbolic link of the ghc binary (if it is one)
36 and preferring its target directory as the guess lookup
41 The canonicalized path of the ghc binary usually points to the
42 bin/ directory unpacked from a bindist, which is less likely to be
43 tampered with by distributions and tools. As such, preferring the
44 canonicalized path should get us more robust results.
46 - Fix `cabal test --enable-library-coverage` for other-modules [#5213](https://github.com/haskell/cabal/issues/5213) [#7493](https://github.com/haskell/cabal/pull/7493)
48 - Fix `cabal test --enable-library-coverage` for libraries with nonempty other-modules field.
49 - Due to a hack, this breaks coverage whenever the used Haskell compiler is called 't' (for a non-hacky fix we should rework HPC directories, possibly enabling multilib in the process, see #6440 and #6397).
51 - Set PATH_SEPARATOR=";" when calling ./configure on Windows; this fix is necessary for autoconf >= 2.70 [#7494](https://github.com/haskell/cabal/issues/7494) [#7510](https://github.com/haskell/cabal/pull/7510)
53 - lazily decode cache files for checking invalidation [#7516](https://github.com/haskell/cabal/pull/7516) [#7466](https://github.com/haskell/cabal/issues/7466)
54 - This yields a significant 15% speedup on rebuilding build plans for projects with lots of individual cabal packages.
55 - It exports the [Tag data type](https://github.com/haskell/cabal/blob/899dd34bc48bbaa43da9a4b2fc354c24fd814d05/Cabal/src/Distribution/Utils/Structured.hs#L67), needed by `cabal-install >= 3.6.0.0`.
57 - defer build-tools-depends choices as well as setup choices [#7561](https://github.com/haskell/cabal/pull/7561) [#7472](https://github.com/haskell/cabal/issues/7472)
58 - extends the existing solver pass that defers solving setup depends until top-level goals are solved to also defer build-tool-depends goals until top level goals are solved.
59 - constraints at the top level (on versions, flags, stanzas, etc) are applied first and only then are attempts made to build the less-constrained qualified goals, significantly streamlining the production of valid build plans.
61 - Set -Wno-prepositive-qualified-module in Paths_*.hs [#7352](https://github.com/haskell/cabal/pull/7352)