This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- May 12, 2021
-
-
Julian Ospald authored
Co-authored-by:
maralorn <malte.brandy@maralorn.de>
-
Julian Ospald authored
Motivation ---------- Often times, the user facing `ghc` binary is symlinked by other forces, such as the package manager, tooling like ghcup etc. As such, the naming convention (version suffix in particular) may not align with the assumptions made in Cabal and it may find an incorrect ghc-pkg. See: - https://github.com/haskell/cabal/issues/7390 - ghc/ghc#18807 - haskell/ghcup-hs#73 Solution -------- Guessing the ghc-pkg path is already a hack and will be solved more appropriately in the future, see - ghc/ghc!4214 - ghc/ghc$2710 These patches will solve the issue for future GHC versions. As such, this patch provides a workaround for older, already existing GHC versions by first always following the symbolic link of the ghc binary (if it is one) and prefering its target directory as the guess lookup location. Rationale --------- The canonicalized path of the ghc binary usually points to the bin/ directory unpacked from a bindist, which is less likely to be tampered with by distributions and tools. As such, prefering the canoncialized path should get us more robust results.
-
- May 04, 2021
-
-
Emily Pillmore authored
Set -Wno-prepositive-qualified-module in Paths_*.hs
-
Francesco Gazzetta authored
-
Francesco Gazzetta authored
Fixes #7351
-
Francesco Gazzetta authored
-
- May 03, 2021
-
-
Emily Pillmore authored
Expose cabal-install lib, remove dogfooding, expose cabal-install-solver as own lib, enable HPC coverage reporting.
-
Emily Pillmore authored
-
- May 02, 2021
-
-
Emily Pillmore authored
* Changes needed for GenValidate and release.py to accommmodate new solver dependency * Bumps bootstrap plans to modern GHC versions * Update `validate.sh` and `release.py` to accommodate new solver dep. * Update `Makefile` targets
-
Emily Pillmore authored
* Strips away dogfooding framework and zinza templates * Splits out tests into targets by as a function of running time * Delete TESTING.md as it no longer applies * Bump cabal-install.cabal to its dev template settings (base >= 4.10, Cabal 2.2) * Remove Paths_cabal_install (blocks HPC generation) * Add `long-tests` target to split out unit-tests and long-running DVCS tests.
-
Emily Pillmore authored
* Add Setup.hs for `cabal-install-solver` * Update `cabal.project` pkg path for `cabal-install-solver`
-
- Apr 26, 2021
-
-
matthewbauer authored
-
- Apr 25, 2021
-
-
James Hobson authored
* Documented limitation of compiler flag * Added changelog entry * Removed changelog entry * Removed empty promise * Removed another promise Co-authored-by:
James Hobson <james.hobson@oriel.ox.ac.uk>
-
- Apr 20, 2021
-
-
Ben Gamari authored
* GHC: Rename cLikeFiles -> cLikeSources * changelog: Add entry for #7252 * Add name change convention for c-like objects Co-authored-by:
Emily Pillmore <emilypi@cohomolo.gy>
-
-
Emily Pillmore authored
* Add language and extensions for 9.2 * Add changelog entry for extensions * Add vim editor entry for 9.2 extensions Co-authored-by:
Ben Gamari <ben@smart-cactus.org>
-
- Apr 18, 2021
-
-
Emily Pillmore authored
Documented the interaction between Backpack and Template Haskell.
-
Daniel Díaz authored
-
- Apr 17, 2021
-
-
Emily Pillmore authored
Workaround for failing test due to GHC #19397
-
Emily Pillmore authored
-
- Apr 14, 2021
-
-
Emily Pillmore authored
Fix test --enable-coverage for multi-package projects
-
Emily Pillmore authored
Include `cmm-sources` when linking shared objects
-
Ollie Charles authored
-
- Apr 13, 2021
-
-
matthewbauer authored
-
- Apr 12, 2021
-
-
Francesco Gazzetta authored
Mark "install --lib" as provisional
-
- Apr 10, 2021
-
-
Currently, if you have multiple packages in a project and try and run the test suite of a single package with --enable-coverage, hpc will fail to run. The problem is that _all_ dependencies of the package are built with `-fhpc`, but when we run `hpc markup`, we are only passing the `.mix` directory of the package being tested. Because we built all dependencies with `-fhpc` and we haven't excluded them from the report, we need to supply their `.mix` directories too. The above suggests one fix - compute the transitive closure of all `.mix` directories. However, there is another solution - change from using an exclude-list to using an include-list. This is the approach used in this commit. Explicitly enumerating all modules to _include_ in the report is simpler to code, but is also more likely to be what the user is interested in. Generally, when one generates a coverage report from a test-suite, they want to understand the coverage of the unit being tested. Having coverage information from dependencies is usually not relevant. This is also the behavior from old-style Cabal builds, where there wasn't even a notion of a Cabal project. Fixes #5433.
-
- Apr 09, 2021
-
-
Francesco Gazzetta authored
And don't encourage its use as much as before. Adding packages to build-depends is more often what the user wants.
-
- Apr 08, 2021
-
-
matthewbauer authored
-
- Apr 07, 2021
-
-
matthewbauer authored
This is based on / similar to https://github.com/haskell/cabal/pull/7219 We used import qualified M in Paths_*.hs, which might be disallowed in GHC 8.10 when -Wprepositive-qualified-module is set.
-
- Apr 06, 2021
-
-
Emily Pillmore authored
--only-download flag
-
- Apr 03, 2021
-
-
Francesco Gazzetta authored
--dry-run --only-dependencies --only-configure --only-download
-
Francesco Gazzetta authored
-
Francesco Gazzetta authored
-
- Apr 02, 2021
-
-
Emily Pillmore authored
Allow bytestring-0.11 + tree-diff-0.2
-
- Apr 01, 2021
-
-
Bodigrim authored
-
- Mar 25, 2021
-
-
Ben Gamari authored
Bump Win32 upper bound
-
Ben Gamari authored
-
- Mar 20, 2021
-
-
Emily Pillmore authored
Actually propagate base16-bytestring 1.0 to all cabal files
-
Francesco Gazzetta authored
-
- Mar 19, 2021
-
-
Francesco Gazzetta authored
Suggest command on spelling mistakes
-