This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 15 Jan, 2016 11 commits
-
-
Mikhail Glushenkov authored
Fixes #3054.
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
bootstrap.sh: add missing pkg and fix tar position
-
tuncer authored
* tar needs to be installed before hackage-security * base64-bytestring is also required
-
Mikhail Glushenkov authored
allow building with recent (master) HTTP
-
Heather authored
I need it for GHC 8 support
-
Mikhail Glushenkov authored
Distribution.Simple.GHC: minor improvements
-
Heather authored
-
Heather authored
-
bardur.arantsson authored
Tests for #2731 (Ignore dependencies that are not Buildable)
-
Mikhail Glushenkov authored
-
- 14 Jan, 2016 13 commits
-
-
kristenk authored
-
kristenk authored
'DSL.exResolve' now takes a 'Maybe [Extension]' for supported extensions and a 'Maybe [Language]' for supported languages. 'Nothing' means that extensions/languages are not checked by the solver, and 'Just []' means that no extensions/languages are allowed.
-
kristenk authored
-
kristenk authored
-
kristenk authored
-
When configuring a package, the condition trees in the package descriptions are evaluated according to the known configuration and flag assignment. During this process, it becomes also known whether a component has its "Buildable" flag set to True or False. We now disregard all dependencies of non-buildable components.
-
When doing the index conversion prior to dependency solving, we now consider the "Buildable" flag for package components. In particular, if the "Buildable" flag of a component is "True" only under certain conditions, then all build dependencies of that component will be placed under the same conditions.
-
Mikhail Glushenkov authored
-
Edsko de Vries authored
First stab at documenting repo configuration
-
Heather authored
-
Edsko de Vries authored
-
Duncan Coutts authored
Tweak the GHC-8 / binary-0.8 version CPP hackery
-
Duncan Coutts authored
Try and pick the right default for ghc-8.
-
- 13 Jan, 2016 1 commit
-
-
Edsko de Vries authored
Introduce secure repos
-
- 12 Jan, 2016 1 commit
-
-
Edsko de Vries authored
-
- 11 Jan, 2016 4 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Duncan Coutts authored
Remove dead code in modular solver
-
Duncan Coutts authored
Introduce RepoContext
-
Duncan Coutts authored
don't special-case versions with leading zeroes
-
- 10 Jan, 2016 9 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Cabal's LibV09 support has always been a bit skeevy. The general idea was that a detailed-0.9 test-suite is built as a library and an Cabal-provided stub executable. In particular, the test suite library must be installed to the installed package database so that the executable can be compiled. Old versions of Cabal did something very skeevy here: they installed the test library as a "package", with the same package name as the "test-suite" stanza; furthermore, they built the products into the same directory as the library proper. Consequently, a lot of bad things could happen (both of which I've added tests for): 1. If the name of the test suite and the name of some other package coincide (and have the same version), they will clobber each other. In GHC 7.8 and earlier, this just flat out kills the build, because it will shadow. There's an explicit test to make sure test suites don't conflict with the package name, but you can get unlucky. 2. The test suite library is built into the same directory as the main library, which means that if the test library implements the same module name as something in the main library it will clobber the interface file and badness will ensue. This patchset fixes both of these issues, by (1) giving internal test libraries proper names which are guaranteed to be unique up to Cabal's dependency resolution, and (2) building the test suite library into a separate directory. In doing so, it also lays the groundwork for other types of internal libraries, e.g. #269, as well as extra (invisible) libraries which we may install. For GHC 7.8 and earlier, we follow the reserved namespace convention as per #3017. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Samuel Gélineau authored
I could not install pcre-light because cabal failed with: parsing output of pkg-config --modversion failed The output of that command was simply "8.02", which cabal could not parse into a Version because of the leading zero. With this patch, "8.02" now parses as (Version [8,2] []).
-
Duncan Coutts authored
Switch to the tar package, drop builtin code
-
Duncan Coutts authored
Also lets us build with older bytestring that shipped with older ghc.
-
- 08 Jan, 2016 1 commit
-
-
Edward Z. Yang authored
Instead of qualifying, in some cases I just added an extra 'hiding' pragma to squelch errors. Common conflicts (just grep for hiding): - Flag - Distribution.Simple.Compiler - Distribution.PackageDescription - Distribution.Simple.Setup - installedComponentId - Distribution.Package - Distribution.InstalledPackageInfo - doesFileExist - Distribution.PackageDescription.Check - instantiatedWith - I renamed the field in InstalledPackageInfo. But it's probably going away with Backpack bits; I migth just excise it soon. - absoluteInstallDirs and substPathTemplate - Distribution.Simple.InstallDirs - Distribution.Simple.LocalBuildInfo I fixed some shadowing errors by renaming local variables in some cases. Common shadowings (we should perhaps consider not using these as method/field names): - freeVars - components - noVersion - verbosity - get - description - name Some data structures were moved around (IPIConvert and ABIHash) to make it easier to handle import lists. Some functions in Utils could be turned into reexports of standard library functions. No explicit imports were removed from non-Cabal imports. These imports help maintain warning cleanliness across versions of GHC, so I don't recommend removing them. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-