cabal
cabal copied to clipboard
Official upstream development repository for Cabal and cabal-install
**Describe the bug** I'm the maintainer for the MacPorts `cabal` port and am trying to update to version 3.8.1.0. I'm following the revised bootstrap instructions on https://github.com/haskell/cabal/blob/master/bootstrap/README.md#bootstrapping-cabal-install and am hitting...
reacration of https://github.com/haskell/cabal/pull/8339 fixes https://github.com/haskell/cabal/issues/8291 presumably this will make it nag at anyone for forgetting to add upper bounds to their packages. I tested this by running cabal check on...
Edit: this seems fixed in the current 3.8 branch (commit 575b216d8ddc073a26bce5e9139a838e5b344d49). To rule out that the way cabal is built affects it (the buggy version was built by gitlab CI...
#5526 (multiple _public_ libraries) is in, but there are still a few things to add and polish #### Visibility enforcement * [x] **Add a visibility field to sublibraries** :fire: :fire:...
Otherwise ``` Project settings changed, reconfiguring... creating /__w/splitmix/splitmix/dist-newstyle/cache creating /__w/splitmix/splitmix/dist-newstyle creating /__w/splitmix/splitmix/dist-newstyle/cache Compiler settings changed, reconfiguring... CallStack (from HasCallStack): withMetadata, called at src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0-inplace:Distribution.Simple.Utils Error: cabal-3.8.1.0: The program 'ghc'...
That happens both with Hackage-generated haddocks and manually generated. A workaround (extra flags? a scripts that copies haddocks over module-by-module?) would be acceptable, but ideally we'd find a better solution....
**Describe the bug** The `--haddock-quickjump` build flag does not apply when building Haddocks of dependencies. If specified, after building dependencies, Cabal fails with an internal error due to not finding...
Repro: ``` ≻ rm -rf propellor-5.7.0/ ≻ cabal get propellor Unpacking to propellor-5.7.0/ ≻ cd propellor-5.7.0/ ≻ cabal build --enable-documentation Resolving dependencies... Build profile: -w ghc-8.6.4 -O1 In order, the...
Using GHC 9.2.3 and cabal master: ``` $ cabal haddock --haddock-for-hackage --enable-doc Warning: this is a debug build of cabal-install with assertions enabled. Resolving dependencies... Build profile: -w ghc-9.2.3 -O0...
Packages that define orphan instances don't always need all their dependencies to be built. For example, suppose package `compat` depends on package `plain` and just defines instances that appear in...