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>
Mon, 22 Jan 2018 01:39:02 +0000 (20:39 -0500)
commit2671cccde749ed64129097358f81bff43480cdb9
treeaec56bdf80e6bbf82f60f1208d3050bf8d0d36a3
parent6c0db98bc5d1dceb8fa48544532f85d386900e4a
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.
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