Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Mar 05, 2018
  2. Mar 04, 2018
  3. Mar 03, 2018
    • Herbert Valerio Riedel's avatar
      Skip `setup-custom2` in integration-tests2 for GHC >= 8.2 · fa7496ac
      Herbert Valerio Riedel authored
      The `setup-custom2` tests implicit `setup-depends` which implies
      a `Cabal < 2` upper bound, which is incompatible with GHC 8.2 or later
      
      (cherry picked from commit 8947db49)
      fa7496ac
    • Herbert Valerio Riedel's avatar
      Fixup T4154 testcase · 7438ad11
      Herbert Valerio Riedel authored
      (cherry picked from commit 86de9cc9)
      7438ad11
    • Herbert Valerio Riedel's avatar
      Set upper bound on setup.Cabal relative to current version · c92b7150
      Herbert Valerio Riedel authored
      As we can't predict the future, we also place a global upper
      bound on the lib:Cabal version we know how to interact with:
      
      The upper bound is computed by incrementing the current major
      version twice in order to allow for the current version, as
      well as the next adjacent major version (one of which will not
      be released, as only "even major" versions of Cabal are
      released to Hackage or bundled with proper GHC releases).
      
      For instance, if the current version of cabal-install is an odd
      development version, e.g.  Cabal-2.1.0.0, then we impose an
      upper bound `setup.Cabal < 2.3`; if `cabal-install` is on a
      stable/release even version, e.g. Cabal-2.2.1.0, the upper
      bound is `setup.Cabal < 2.4`. This gives us enough flexibility
      when dealing with development snapshots of Cabal and cabal-install.
      
      This addresses #415
      
      (cherry picked from commit e66106c7)
      c92b7150
    • Herbert Valerio Riedel's avatar
      Fine-tune lower bound on lib:Cabal · de880a54
      Herbert Valerio Riedel authored
      GHC 8.4.1-rc1 (GHC 8.4.0.20180224) unfortunately still shipped with a
      devel snapshot of Cabal-2.1.0.0; but GHC 8.4.1 final will ship w/
      lib:Cabal-2.2.0.0
      
      (cherry picked from commit 5066672f)
      de880a54
    • Tamar Christina's avatar
      Conditionally define values · 2d222368
      Tamar Christina authored
      2d222368
  4. Mar 01, 2018
  5. Feb 28, 2018
  6. Feb 26, 2018
  7. Feb 25, 2018
  8. Feb 24, 2018
    • Herbert Valerio Riedel's avatar
      Implement ghc/cabal compatiblity matrix (re #415) · 71e797ea
      Herbert Valerio Riedel authored
      This injects lower-bound constraints on Cabal for custom setup
      dependencies to prevent the solver from selecting unsupported
      configurations.
      
      Previously we already added an absolute lower bound `Cabal >= 1.20`
      for nix-local builds, as that's the minimum version we need to be able
      to interact with custom Setup.hs scripts. This refines with logic by
      restricting that lower bound even more based on GHC version.
      
      This patch augments this with the following rules:
      
      - GHC 8.4+   constrains  Cabal >= 2.2
      - GHC 8.2    constrains  Cabal >= 2.0
      - GHC 8.0    constrains  Cabal >= 1.24
      - GHC 7.10   constrains  Cabal >= 1.22
      - (default   constraint  Cabal >= 1.20)
      
      This only affects nix-style local builds codepaths.
      71e797ea
    • Herbert Valerio Riedel's avatar
    • Herbert Valerio Riedel's avatar
      Convert Cabal/changelog to markdown [skip ci] · 8bf5a2aa
      Herbert Valerio Riedel authored
      Notational conventions used:
      
       - `----` separators to group major version series
       - `#` headings to highlight major version bumps,
       - `##` headings for minor version bumps, and
       - `###` headings for patch-levels
      8bf5a2aa
  9. Feb 23, 2018
  10. Feb 20, 2018
  11. Feb 19, 2018
  12. Feb 18, 2018
  13. Feb 16, 2018
Loading