This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- May 03, 2024
-
-
Matthew Pickering authored
Previously `--package-db` was only passed to test which used the `v2-` prefix. Now we pass `--package-db` to things which use the `v2-` prefix, not things which use the `v1-` prefix and by default assume that unprefixed commands are v2 commands.
-
- May 02, 2024
-
-
mergify[bot] authored
Filter Setup flags: filter working dir on < 3.13
-
sheaf authored
The --working-dir flag is only available for Cabal >= 3.13. This commit fixes an incorrect conditional: we only filtered out this flag for Cabal < 3.11, instead of < 3.13. Test: PackageTests/WorkingDir Fixes #9940
-
mergify[bot] authored
Bump to hlint-3.8
-
mergify[bot] authored
Rename projects to have `.project` extension
-
mergify[bot] authored
Correctly provision build tools in all situations
-
sheaf authored
This patch ensures that we correctly provision executables declared in the build-tool-depends fields in all circumstances: - whether the build tool is external (from another package) or internal (declared in the current package) - whether the build tool is used at compile time (e.g. in a pre-build rule or in a Template Haskell splice) or at run time (e.g. when running a test-suite, benchmark or executable). Note that correctly provisioning a build tool requires two pieces of information: - making it available in PATH, - ensuring it has the correct environment variables overrides; in particular, the build tool needs to be able to find its own data directory. The test case BuildToolPaths checks all of these situations are handled correctly.
-
sheaf authored
This commit ensures the test-suite driver also provides the Cabal-hooks package, on top of Cabal and Cabal-syntax.
-
sheaf authored
-
- May 01, 2024
-
-
mergify[bot] authored
Define a user-visible change
-
mergify[bot] authored
Update PR template
-
f-a authored
Stress an API change is enough to warrant a `changelog.d` entry. Check #9856 to see why we need it.
-
- Apr 30, 2024
-
-
mergify[bot] authored
Reinstate 'initialBuildSteps' function
-
sheaf authored
This patch reinstates the 'initialBuildSteps' function, as it is used by stack in its implementation of the multi-repl feature. A deprecation warning has been added to that function: calling it does not suffice to prepare the sources for a package, as there are other steps that one might also need to perform: - running pre-processors (such as alex/happy) - running pre-build hooks or custom logic (in build-type: Hooks or build-type: Custom or Configure) Consumers wanting to prepare the sources of a package, e.g. in order to launch a REPL session, are advised to run `Setup repl --repl-multi-file=<fn>` instead. Fixes #9856
-
Phil de Joux authored
- Rename cabal.bootstrap.project - Rename cabal.meta.project - Rename cabal.validate-libonly.project - Rename cabal.validate.project - Rename cabal.release.project
-
Phil de Joux authored
-
Phil de Joux authored
-
mergify[bot] authored
State supported GHC versions in release notes
-
- Apr 29, 2024
-
-
f-a authored
-
mergify[bot] authored
Add warning and note to cabal test [TARGETS]
-
mergify[bot] authored
CI: force MacOS jobs to use Intel runners (macos-13)
-
Phil de Joux authored
-
Phil de Joux authored
- Add anchor for user-visible change
-
Artem Pelenitsyn authored
-
Artem Pelenitsyn authored
-
Artem Pelenitsyn authored
GitHub just switched macos-latest to the ARM chips (now alisasing `macos-14`), and it brings a bunch of problems. - First of all, GHC's 8.8 and 8.6 don't exist there. - ghcup and llvm are unavailable For the time being, lets stay on the previous version of the runner.
-
f-a authored
* Add `initialBuildSteps` removal notice And suggestion on what to use (`preBuildComponent`) instead. * Update release-notes/Cabal-3.12.0.0.md Co-authored-by:
sheaf <sam.derbyshire@gmail.com>
-
- Apr 27, 2024
-
-
Phil de Joux authored
Co-authored-by:
brandon s allbery kf8nh <allbery.b@gmail.com>
-
Phil de Joux authored
Co-authored-by:
brandon s allbery kf8nh <allbery.b@gmail.com>
-
Phil de Joux authored
-
Phil de Joux authored
-
- Apr 26, 2024
-
-
mergify[bot] authored
Use alice as username in cabal path examples
-
- Apr 25, 2024
-
-
f-a authored
* Add release notes for Cabal 3.12 Forwardport of #9785, #9908 Add changelog/release notes for Cabal 3.12 (#9785) - generated with git log --pretty=oneline --no-color cabal-install-v3.10.1.0..HEAD > 3.12.prlog - deduped - stored WIP “release notes” file for future `cabal-install` release 3.12 changelogs updated (#9908) * Update changelog for 3.12 (and for future WIP 3.12.1.0 cabal-install) * Remove changelog.d files * 3.12 changelog fixup (#9922) * Incorporate Brandon’s suggestions See #9920. * Incorporate Artem’s suggestions See #9920. * Do not repeat yourself * Fix whitespace * Fix release notes grammar See #9920.
-
mergify[bot] authored
Fix changelog/readme
-
f-a authored
-
- Apr 24, 2024
-
-
Phil de Joux authored
-
mergify[bot] authored
Support GHC 9.12
-
f-a authored
-
- Apr 23, 2024
-
-
mergify[bot] authored
Bump project version from 3.11 to 3.13
-
sheaf authored
-