cabal
cabal copied to clipboard
Official upstream development repository for Cabal and cabal-install
Write a test which covers such scenario.
**Describe the bug** When using `Setup.hs`'s `configure` + `build` steps a GHC option passed in the configure is not applied in the build step, when the build step uses the...
**Describe the bug** Executable built and run with `v2-run --enable-coverage --enable-executable-dynamic` can't find library. **To Reproduce** Set up a sample project with `cabal init --interactive`. Select "Library and Executable", everything...
Encountered the error below while building rpki-prover **basement > hsc2hs-ghc-9.6.5: .stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.5/build/Basement/Terminal/Size_hsc_make: createProcess: posix_spawnp: permission denied (Permission denied) clock > configure**
**Describe the bug** When `Cabal` is configuring programs, if a program isn't found it vomits up an incomprehensible diagnostic. The `dieWithVerbosity` appears to be in a place that can only...
Closes #8502, specifically by implementing https://github.com/haskell/cabal/issues/8502#issuecomment-1262067495. TODO: - [ ] Consensus that these semantics make sense (reaction to ttps://github.com/haskell/cabal/issues/8502#issuecomment-1262067495 is positive) - [ ] Maybe it is better to introduce...
A full reproducer with analysis is at https://github.com/andreasabel/bug-cabal-3.12-setup . I noticed this issue when using ghc-9.10.1 for the first time to build Agda using `cabal v1-install`. The Agda parser was...
In my opinion, the most convenient way to declare a custom preprocessor in pre-build rules (in `build-type: Hooks`) is to search for files using a file glob, and then monitor...
Please read [Github PR Conventions](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#github-pull-request-conventions) and then fill in *one* of these two templates. --- **Template Α: This PR modifies [behaviour or interface](https://github.com/cabalism/cabal/blob/master/CONTRIBUTING.md#changelog)** Include the following checklist in your PR:...
Fixes #10472. **Template B: This PR does not modify behaviour or interface** *E.g. the PR only touches documentation or tests, does refactorings, etc.* Include the following checklist in your PR:...