This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Jun 02, 2021
-
-
- May 31, 2021
-
-
Francesco Gazzetta authored
-
- May 26, 2021
-
-
Emily Pillmore authored
Cabal Init Omnibus
-
- May 25, 2021
-
-
fendor authored
Replace List with NonEmpty in TargetsMap
-
- May 24, 2021
-
-
Mikolaj Konarski authored
Add regression test for #5782, which requires extending test harness to v2-install
-
Hannes Siebenhandl authored
-
Hannes Siebenhandl authored
-
Mikolaj Konarski authored
-
Mikolaj Konarski authored
-
Mikolaj Konarski authored
-
Mikolaj Konarski authored
-
- May 21, 2021
-
-
Emily Pillmore authored
Prefer canonicalized path when guessing tools from GHC path
-
Emily Pillmore authored
Add 'preferred-versions' support for LocalIndexRepo
-
Hannes Siebenhandl authored
-
- May 20, 2021
-
-
Julian Ospald authored
-
- May 18, 2021
-
-
Hannes Siebenhandl authored
-
Hannes Siebenhandl authored
-
- May 17, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
- May 16, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
- May 15, 2021
-
-
Emily Pillmore authored
-
- May 14, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Patrick Augusto authored
-
Emily Pillmore authored
-
- May 12, 2021
-
-
Patrick Augusto authored
-
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.
-
Patrick Augusto authored
-
- May 11, 2021
-
-
Patrick Augusto authored
-
- May 08, 2021
-
-
Patrick Augusto authored
-
Patrick Augusto authored
-
- May 07, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-