This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Jun 23, 2024
-
-
Brandon S. Allbery authored
API incompatible with our test suites
-
- Apr 23, 2024
-
-
sheaf authored
-
- Apr 18, 2024
-
-
sheaf authored
This commit introduces a new build-type, Hooks. A package using this build type should provide a SetupHooks.hs module which exports a value `setupHooks :: SetupHooks`. This is intended to replace the Custom setup type. This allows Cabal to have finer-grained information about the build, instead of having an opaque Setup executable to invoke. Tests include: - error when returning an invalid component diff in a per-component pre-configure hook - error when declaring pre-build rules whose dependency graph contains cycles - error when we cannot find a dependency of a pre-build rule - warning when there are pre-build rules that are declared but never demanded - correctness tests for SetupHooks, e.g. that pre-build rules are run in dependency order (see the `SetupHooksRuleOrdering` test)
-
- Apr 06, 2024
-
-
Phil de Joux authored
-
- Apr 03, 2024
-
-
sheaf authored
This commit makes the library functions in Cabal agnostic of the working directory. In practice, this means that we distinguish `FilePath`s from un-interpreted `SymbolicPath`s. The latter may be paths that are relative to the working directory, and need to be interpreted with respect to a passed-in argument specifying the working directory, instead of using the working directory of the current process. See Note [Symbolic paths] in Distribution.Utils.Path. In particular, paths in the package description now use the SymbolicPath abstraction, which allows specifying whether they are allowed to be absolute, and, if they are relative, what they are relative to. For example, source files are relative to a source search directory, data files are relative to the data directory, and doc files are relative to the package root. Fixes #9702
-
- Mar 16, 2024
-
-
Phil de Joux authored
-
- Jan 01, 2024
-
-
Phil de Joux authored
-
- Dec 29, 2023
-
-
Phil de Joux authored
-
- Dec 28, 2023
-
-
Phil de Joux authored
-
Phil de Joux authored
-
- Mar 13, 2023
-
-
Mikolaj Konarski authored
* Bump versions on master branch to 3.11 * Try to fix CI by setting cabal-testsuite stable Cabal version to 3.8 back again * Update bootstrap configuration * Work around bounds problem with cabal-install-parsers * Update bootstrap files * Try to update the Custom setup cabal to 3.10 according to Artem's suggestion * CI: cabal-3.10 compat: actions/cache has to go before cabal update * Fix failing old GHC CI builds by adding XDG's ~/.local/bin to GITHUB_PATH --------- Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
-
- May 25, 2022
-
-
Mikolaj Konarski authored
-
- May 02, 2022
-
-
Eric Lindblad authored
-
- Apr 06, 2022
-
-
Andrea Bedini authored
-
- Jan 26, 2022
-
-
patrickdoc authored
-
- Aug 25, 2021
-
-
Hannes Siebenhandl authored
-
- Aug 05, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
- regenerate bootstrap plans - update CI and docker images for 8.8.4 and 8.10.4
-
- Mar 09, 2021
-
-
Francesco Gazzetta authored
-
- Oct 13, 2020
-
-
Oleg Grenrus authored
The are various motivation points: - I'm not aware anyone third party running Cabal tests (maybe nixpkgs?) - No need to do gen-extra-source-files, as Cabal-tests is not distributed - No multiple rebuilds of Cabal-QuickCheck, Cabal-tree-diff - Slightly smaller Cabal sdist (which is quite big still)
-