This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 24 Aug, 2014 1 commit
-
-
RyanGlScott authored
-
- 22 Aug, 2014 2 commits
-
-
Mikhail Glushenkov authored
This information is passed via 'dist/setup-config'. See https://github.com/haskell/cabal/issues/2046#issuecomment-53034455.
-
Mikhail Glushenkov authored
-
- 19 Aug, 2014 1 commit
-
-
cheecheeo authored
-
- 18 Aug, 2014 1 commit
-
-
cheecheeo authored
-
- 13 Aug, 2014 2 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 04 Aug, 2014 3 commits
-
-
Edward Z. Yang authored
Duncan requested that cabal-install not try to put multiple entries in the package database with duplicate package IDs (foo-0.1) until other tools (in particular GHC) are able to deal with situation in a better way. We want to revert this commit soon, since with this turned on, we basically don't get any benefit from the package key refactoring (no deliverance from Cabal hell.) Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
At the moment, $pkgkey is not supported for build reports, although in principle we could add support for it, assuming that the configure step succeeds. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Previously, the GHC ecosystem assumed that for any package ID (foo-0.1), there would only be one instance of it in the installed packages database. This posed problems for situations where you want a package compiled twice against different sets of dependencies: they could not both exist in the package database. Package keys are a hash of the package ID and package dependencies, which identify a package more uniquely than a package ID, but less uniquely than an installed package ID. Unlike installed package IDs, these can be computed immediately after dependency resolution, rather than after compilation. Package keys require support from the compiler. At the moment, only GHC 7.10 supports package keys (the reason is that old versions of GHC do a sannity check to see that the <pkg-name>-<pkg-version> stored in the package database matches with the -package-name embedded in an hi file; so the format is fixed.) We fallback to package keys == package IDs for old versions. Note: the ./Setup configure fallback script does not try particularly hard to pick consistent sets of dependencies. If your package database is too difficult for it to resolve, manually provide installed package IDs or use cabal-install's dependency solver. Note: This patch *suspends* the reinstall check unless it would result in a different package, so cabal-install will now happily reinstall foo-0.1 compiled against bar-0.2 if foo-0.1 already exists. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 02 Aug, 2014 2 commits
-
-
Mikhail Glushenkov authored
See #2023.
-
Chris Wong authored
Now packages specified by directory or URL work with the --build-summary option.
-
- 29 Jul, 2014 3 commits
-
-
Chris Wong authored
-
Chris Wong authored
-
Chris Wong authored
-
- 27 Jul, 2014 6 commits
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Fixes #2009.
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Fixes #1337.
-
Mikhail Glushenkov authored
This reverts commit 03c134d5. Committed by mistake.
-
Mikhail Glushenkov authored
Fixes #2016.
-
- 25 Jul, 2014 2 commits
-
-
Fixes #1962.
-
Mikhail Glushenkov authored
It looks like #1443 was actually fixed by the change from getModificationTime to getModTime (which has higher resolution). The change to '>=' was not needed because the code uses 'when', not 'unless'. Thanks to Nikita Karetnikov for the heads-up.
-
- 21 Jul, 2014 1 commit
-
-
Isamu Mogi authored
Currently installed package info file is written in UTF-8. So UTF-8 should be used explicitly or it can cause "invalid byte sequence" error if system encoding is incompatible to UTF-8.
-
- 17 Jul, 2014 3 commits
-
-
Mikhail Glushenkov authored
-
Keshav Kini authored
In accordance with @23Skidoo's comments on github.
-
Keshav Kini authored
A common mistake new users of cabal-install seem to make is to run `cabal update`, see the message "Note: there is a new version of cabal-install available.", accordingly install a new version of cabal-install by doing `cabal install cabal-install`, neglect to make sure that the newly installed cabal-install executable is in their path, and continue to run the cabal-install executable they had before. The next time they do `cabal update`, they see the same message and become confused. This commit changes the message in question to be more informative and helpful. In particular, if the currently running version of cabal-install is older than the newest version available from hackage, the user will not be told simply that "there is a new version of cabal-install available", but rather will be informed exactly what new versions are available, and what version they are currently running, along with a hint to change their $PATH variable if it turns out they're not running the version of cabal-install they thought they were.
-
- 15 Jul, 2014 1 commit
-
-
Mikhail Glushenkov authored
Fixes #1994 (hopefully).
-
- 11 Jul, 2014 1 commit
-
-
barmston authored
-
- 08 Jul, 2014 2 commits
-
-
Fujimura Daisuke authored
-
Fujimura Daisuke authored
-
- 29 Jun, 2014 1 commit
-
-
barmston authored
-
- 28 Jun, 2014 5 commits
- 26 Jun, 2014 2 commits
- 25 Jun, 2014 1 commit
-
-
Mikhail Glushenkov authored
-