This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Feb 19, 2017
-
-
Edward Z. Yang authored
* This is only enabled with the lib flag. * We tell users not to use the library in the package description. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Feb 18, 2017
-
-
Tamar Christina authored
-
- Feb 17, 2017
-
-
Mikhail Glushenkov authored
This reverts commit bacdf19b. 'hackage-security' has been updated. I tested that build works now.
-
Edward Z. Yang authored
hackage-security hasn't been updated with new bounds, so this unbreaks the build. This reverts commit eec15a35.
-
Mikhail Glushenkov authored
-
- Feb 12, 2017
-
-
- Jan 31, 2017
-
-
Ryan Scott authored
echo-0.1.3 introduces a dependency on the minimalistic mintty library, so we need to add that to ./bootstrap.sh as well.
-
- Jan 26, 2017
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- Jan 25, 2017
-
-
John Ericson authored
The executable is unused so it shouldn't need to be built and cause problems. Also, convert the test to use the testsuite
-
- Jan 19, 2017
-
-
Mikhail Glushenkov authored
-
- Jan 17, 2017
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Fixes #2139.
-
- Jan 11, 2017
-
-
Mikhail Glushenkov authored
-
- Jan 06, 2017
-
-
John Ericson authored
Modeled after the extern_build_tools test
-
- Dec 22, 2016
-
-
Ryan Scott authored
-
- Dec 07, 2016
-
-
Mikhail Glushenkov authored
-
(cherry picked from commit e0bf43c3)
-
- Dec 05, 2016
-
-
ttuegel authored
-
- Nov 27, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Nov 22, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu> Signed-off-by:
Auke Booij <auke@tulcod.com>
-
- Nov 20, 2016
- Nov 16, 2016
-
-
kristenk authored
This commit moves the utility functions from UnitTests.Distribution.Solver.Modular.Solver to a new module, UnitTests.Distribution.Solver.Modular.DSL.TestCaseUtils.
-
- Oct 29, 2016
-
-
Constrain Cabal >= 1.20 in all new-build install plans. This solves problems where Cabal 1.18 don't have a good enough API to let us handle the new-style store (we need --dependency flags.) In the future we plan to relax this to only Setup.hs dependencies. Fixes issue #3932.
-
- Oct 26, 2016
-
-
Ben Gamari authored
-
Mikhail Glushenkov authored
-
-
- Oct 25, 2016
-
-
Edward Z. Yang authored
In #4017, hvr reported that when he used --allow-older/--allow-newer, there was an assert failure in toConfiguredComponent. Indeed the problem was that toConfiguredComponent was testing version ranges of build-depends to determine which package to select, but there was no satisfying one (since the build-depends field had not been updated.) After thinking about this for a bit, it seemed a bit bogus for us to be doing another version check at this late phase; we already picked dependencies earlier in the configuration process. So I decided to drop it. To drop it, however, I needed to remove support for a feature (discussed in #4020), which uses version ranges to disambiguate whether or not a dependency is on an external package or an internal package. This feature doesn't seem to be very useful. If someone asks, I'll check on Hackage to see if anyone is using it. Also added some useful extra debug info. Fixes #4020 and #4017 Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Oct 22, 2016
-
-
Edward Z. Yang authored
When a library/executable is unbuildable, the solver may still return a reference to it. Handle this gracefully in ProjectPlanning with a nice error message, rather than an assert failure. Fixes #3978. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Oct 18, 2016
-
-
Edward Z. Yang authored
New module Distribution.Client.SourceFiles implements 'needElaboratedConfiguredPackage', which if run in the 'Rebuild' monad is sufficient to ensure all source files that participate in a build are monitored. Fixes #3401. It also fixes the "we didn't detect a new file appearing" problem. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Oct 14, 2016
-
-
Oleg Grenrus authored
- No need to add other-modules by hand - Works on OSX (.sh didn't) - Found missed files!
-
- Oct 09, 2016
-
-
Herbert Valerio Riedel authored
This way `cabal` can bootstrap secure repos even if the primary Hackage instance is currently unreachable, as long as there's at least one reachable and working secure mirror available. NB: This new code-path is only used for the initial bootstrap. Once the repository cache has been bootstrapped, its `mirrors.json` meta-data is used instead. See also https://github.com/well-typed/hackage-security/issues/171
-
- Oct 06, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Mikhail Glushenkov authored
On recent OS X, Cabal does not work correctly because it assumes that a permission denied error when reading permissions on executables, resulting in errors like "Setup: /usr/bin/ar: permission denied". The proximal fix for this is to add a constraint on unix when we build Cabal/cabal-install to avoid building with the buggy version of unix. But this causes other problems: - Bumping the version of unix means that our local build of Cabal will depend on things from the store. But we weren't passing this to GHC when compiled Setup.hs for Cabal's package-tests. Set CABAL_PACKAGETESTS_DB_STACK env var explicitly to point to the right locations. - The new configuration of versions exposed some bugs in some macro expanded code in cabal-install; we qualified those imports to squash unused warnings. - The cabal-install integration-tests occasionally use Cabal from the system GHC. Since this will never work on OS X, we just skip the tests in those cases. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Sep 29, 2016
-
-
Duncan Coutts authored
We're going to need ProjectPlanOutput to import the ProjectBuilding types, but this would cause a cycle with ProjectPlanning. So do the same thing we did with ProjectPlanning and move the types out.
-
- Sep 26, 2016
-
-
Herbert Valerio Riedel authored
This is supposed to become more or less a superset of Cabal's `Distribution.Compat.Prelude`. As a side-effect,t his exposes `Distribution.Compat.Prelude` from the Cabal library (which may be actually a good thing, as it may be useful module to Setup.hs writers).
-
- Sep 24, 2016
-
-
Herbert Valerio Riedel authored
Fwiw, the GHC executables are compiled with full `-rtsopts` as well. The benefit is that one can use flags such as `-M1G` to limit the heap space, or profile memory usage via `-hT`.
-
Herbert Valerio Riedel authored
Most notably, this allows us to provide a custom instance for `Text`
-