This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 21 Jun, 2017 1 commit
  2. 20 Jun, 2017 1 commit
    • bardur.arantsson's avatar
      Create separate compat-prelude for solver · 34233d76
      bardur.arantsson authored
      The idea here is to break the dependency that has crept in from the
      "Solver" into the "Client". (If there's ever going to be a separate
      solver then the dependency would become a big problem.)
      34233d76
  3. 16 Jun, 2017 3 commits
  4. 14 Jun, 2017 2 commits
  5. 13 Jun, 2017 1 commit
  6. 09 Jun, 2017 7 commits
  7. 06 Jun, 2017 1 commit
    • Edward Z. Yang's avatar
      Fix test suite wobbliness on GHC 8.2. · b5d1e190
      Edward Z. Yang authored
      Here were the root causes:
      
      - Some tests involving Custom setpu showed MORE output
        (UseLocalPackageForSetup) when run on GHC 8.2.  This is because GHC
        8.2 ships a recent enough version of Cabal to know how to emit
        markers, which means we have started picking up the output.  I hacked
        up these tests to not accept this output, but a more correct thing to
        do is figure out how to NOT request marking of a Setup script which is
        not the inplace install.  This was a little tricky so I bailed.
      
      - GHC 8.2 no longer emits "It is a member of the hidden package".
        This broke CustomWithoutCabalDefaultMain.  Not sure if this
        is a GHC regression but it's pretty harmless.
      
      - While I was at it, I fixed an inexhaustive pattern match in
        cabal-testsuite (though perhaps poorly; I couldn't figure out
        what the new constructor does.)
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      b5d1e190
  8. 05 Jun, 2017 1 commit
  9. 04 Jun, 2017 1 commit
  10. 29 May, 2017 6 commits
  11. 25 May, 2017 2 commits
    • Herbert Valerio Riedel's avatar
      Workaround invalid .cabal files with Main modules in other-extensions · 47845856
      Herbert Valerio Riedel authored
      `other-modules` is intended for non-main modules (which is also stated
      in the cabal manual). Unfortunately, a few packages, such as `happy` do
      incorrectly specify `other-modules: Main` for their executables, thereby
      causing GHC to complain about duplicate Main modules.
      
      The workaround implemented here is to filter out the main module
      name (while taking into account `ghc-options: -main-is ...`) from the
      `other-modules` passed to GHC, and emit a warning in the process.
      47845856
    • Joel's avatar
      Merge pull request #4536 · 58062f57
      Joel authored
      Refactor ProjectConfig Arbitrary instances
      58062f57
  12. 24 May, 2017 1 commit
  13. 23 May, 2017 7 commits
  14. 22 May, 2017 1 commit
  15. 19 May, 2017 5 commits