Update Cabal submodule
authorOleg Grenrus <oleg.grenrus@iki.fi>
Sun, 21 Jan 2018 18:37:17 +0000 (20:37 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sun, 21 Jan 2018 23:41:21 +0000 (18:41 -0500)
commit61db0b8941cfb7ed8941ed29bdb04bd8ef3b71a5
tree00631826d8475a0730f0787db5a373046ba15a2f
parent33e3b3eb55cb6cfa4abc7f57581066779a046626
Update Cabal submodule

- Cabal-2.2 uses SPDX license identifiers, so I had to update
  `cabal-version: 2.1` packages `license: BSD3` to
  `license: BSD-3-Clause`
- `ghc-cabal` used old ReadP parsec, now it uses `parsec` too
- InstalledPackageInfo pretty-printing have changed a little,
  fields with default values aren't printed. This can be changed in
  `Cabal` still, but I haven't found problems with omitting them.

Note: `BSD-3-Clause` is parsed as "name = BSD, version = 3" by old
parser (because 3-Clause looks like version 3 with tag Clause).
If you see *"BSD-3" is not a valid license*, then something is using
old parser still.

Fixes #9885.

(cherry picked from commit 5d6e0806c690ac1958e4cbf609bc6b18048fb761)
libraries/Cabal
libraries/base/base.cabal
libraries/ghc-prim/ghc-prim.cabal
testsuite/tests/backpack/cabal/bkpcabal06/bkpcabal06.cabal
testsuite/tests/cabal/ghcpkg01.stdout
utils/ghc-cabal/Main.hs