This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Feb 28, 2021
-
-
Edward Z. Yang authored
Fixes #4761 Signed-off-by:
Edward Z. Yang <ezyang@fb.com> ghstack-source-id: 957ba1db25747ffb08ad8b9a4af1f9310d8e738d Pull Request resolved: https://github.com/haskell/cabal/pull/7306
-
- Feb 24, 2021
-
-
Oleg Grenrus authored
Fix typo
-
Teo Camarasu authored
-
- Feb 15, 2021
-
-
Francesco Gazzetta authored
Fix typos
-
tomjaguarpaw authored
-
- Feb 12, 2021
-
-
Alex Biehl authored
Propagate provenance when parsing ProjectConfig
-
Alex Biehl authored
In a project with lots of constraints it's not always obvious from which file a constraint is coming from. Also we are currently showing a big `TODO` message in place of the file name which is not nice. Prior to this patch ``` $ cabal build all Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: some-package-0.24.1.2 (user goal) [__1] trying: foldl-1.4.8 (dependency of some-package) [__2] next goal: mwc-random (dependency of foldl) [__2] rejecting: mwc-random-0.15.0.0 (constraint from project config TODO requires ==0.14.0.0) [__2] trying: mwc-random-0.14.0.0 [__3] next goal: math-functions (dependency of mwc-random) [__3] rejecting: math-functions-0.3.4.0, math-functions-0.3.3.0, math-functions-0.3.2.1, math-functions-0.3.2.0, math-functions-0.3.1.0, math-functions-0.3.0.2, math-functions-0.3.0.1, math-functions-0.3.0.0, math-functions-0.2.1.0, math-functions-0.2.0.2, math-functions-0.2.0.1, math-functions-0.2.0.0, math-functions-0.1.7.0, math-functions-0.1.6.0, math-functions-0.1.5.2, math-functions-0.1.5.1, math-functions-0.1.4.0, math-functions-0.1.3.0, math-functions-0.1.1.2, math-functions-0.1.1.1, math-functions-0.1.1.0, math-functions-0.1.0.0 (constraint from project config TODO requires ==0.3.4.1) [__3] fail (backjumping, conflict set: math-functions, mwc-random) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: mwc-random, math-functions, foldl, some-package Try running with --minimize-conflict-set to improve the error message. ``` Note the TODO. No idea where th constraint is coming from :( With this patch applied: ``` Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: some-package-0.24.1.2 (user goal) [__1] trying: foldl-1.4.8 (dependency of some-packagge) [__2] next goal: mwc-random (dependency of foldl) [__2] rejecting: mwc-random-0.15.0.0 (constraint from project config /Users/a602232/git/haskell-libs/cabal.project.freeze requires ==0.14.0.0) [__2] trying: mwc-random-0.14.0.0 [__3] next goal: math-functions (dependency of mwc-random) [__3] rejecting: math-functions-0.3.4.0, math-functions-0.3.3.0, math-functions-0.3.2.1, math-functions-0.3.2.0, math-functions-0.3.1.0, math-functions-0.3.0.2, math-functions-0.3.0.1, math-functions-0.3.0.0, math-functions-0.2.1.0, math-functions-0.2.0.2, math-functions-0.2.0.1, math-functions-0.2.0.0, math-functions-0.1.7.0, math-functions-0.1.6.0, math-functions-0.1.5.2, math-functions-0.1.5.1, math-functions-0.1.4.0, math-functions-0.1.3.0, math-functions-0.1.1.2, math-functions-0.1.1.1, math-functions-0.1.1.0, math-functions-0.1.0.0 (constraint from project config /Users/a602232/git/haskell-libs/cabal.project.freeze requires ==0.3.4.1) [__3] fail (backjumping, conflict set: math-functions, mwc-random) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: mwc-random, math-functions, foldl, some-package Try running with --minimize-conflict-set to improve the error message. ``` Note that we now explicitly say where the constraint is coming from!
-
- Feb 08, 2021
-
-
Emily Pillmore authored
Don't create spurious dirs on init
-
Emily Pillmore authored
-
- Feb 07, 2021
-
-
Oleg Grenrus authored
Reference ghc-9.0 in 3.0 changelog as that's what 8.12 became.
-
- Feb 06, 2021
-
-
Greg Steuck authored
Reference ghc-9.0 as that's what 8.12 became.
-
- Feb 01, 2021
-
-
Emily Pillmore authored
-
Emily Pillmore authored
-
- Jan 27, 2021
-
-
Francesco Gazzetta authored
Add changelog.d documentation
-
Francesco Gazzetta authored
-
- Jan 26, 2021
-
-
Francesco Gazzetta authored
Moved info for cabal install --lib to sub-heading
-
- Jan 24, 2021
-
-
Daniel Díaz Carrete authored
The text for the --lib flag to the cabal install subcommand has been moved to its own subheading. Also the text has been slightly reworded.
-
- Jan 14, 2021
-
-
Oleg Grenrus authored
Remove Win GHC-8.8.4 and GHC-8.10.2 jobs
-
- Jan 13, 2021
-
-
Oleg Grenrus authored
-
- Jan 11, 2021
-
-
Oleg Grenrus authored
Add GHC-8.10.3 Windows CI job
-
Oleg Grenrus authored
-
- Jan 09, 2021
-
-
Oleg Grenrus authored
Issue 7234: other-extension cannot be omitted.
-
Oleg Grenrus authored
When cabal-version is old. Fixes https://github.com/haskell/cabal/issues/7234
-
Oleg Grenrus authored
-
- Dec 30, 2020
-
-
Oleg Grenrus authored
Paths no missing safe haskell mode
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Otherwise enabling `-Wmissing-safe-haskell-mode` would cause annoying warnings.
-
- Dec 28, 2020
-
-
Oleg Grenrus authored
Remove outdated sections from READMEs
-
Oleg Grenrus authored
-
- Dec 20, 2020
-
-
Oleg Grenrus authored
Use alex-3.2.6
-
- Dec 19, 2020
-
-
Oleg Grenrus authored
-
- Dec 09, 2020
-
-
Oleg Grenrus authored
Add missing spaces between words in output
-
- Dec 08, 2020
-
-
Aiken Cairncross authored
-
Oleg Grenrus authored
Cabal: Improve cmdline help readability by breaking long lines
-
Daniel Gröber (dxld) authored
Currently usageInfo lays out the cmdline help as three columns for each OptDescr: 1) the short options, 2) the long option and 3) the help text. We try to fit these columns in 79 chars but if thi fails we allocate at least 30 chars to the help text. Since we currently have some very long .. long options in cabal-install this makes the help output quite ugly on a standard 80x24 terminal window. This patch does two things: firstly we get rid of the dedicated short options column, and simply merge this with the long options column. Secondly instead of laying everything out in a strictly two column fashion with the first column having variable width we instead make the first column a fixed width and simply break the line after the list of options if we go over. Say we currently have: -a --short-long-option with some help text --really-long-option=with|a|bunch|of|allowed|values and help text here Instead we now get: -a, --short-long-option with some help text --really-long-option=with|a|bunch|of|allowed|values and help text here where the help text is aligned to a fixed column (30 chars here) throughout and we use a comma to separate the short and long options instead of giving the short options a dedicated column.
-
- Dec 05, 2020
-
-
Oleg Grenrus authored
Fix cabal init name deduction
-
- Nov 27, 2020
-
-
Oleg Grenrus authored
Make license files field SymbolicPath
-
- Nov 26, 2020
-
-
Oleg Grenrus authored
-
- Nov 24, 2020
-
-
Oleg Grenrus authored
Add Win GHC-8.10.2 job
-
- Nov 23, 2020
-
-
Oleg Grenrus authored
-