The Read instance for License and InstalledPackageInfo is authoritative
The Read instance for License and InstalledPackageInfo is authoritative

It is ghc's optimised InstalledPackageInfo parser that needs updating.

rolling back:

Fri Dec 12 18:36:22 GMT 2008  Ian Lynagh <igloo@earth.li>
  * Fix Show/Read for License
  We were ending up with things like
      InstalledPackageInfo {
          ...
          license = LGPL Nothing,
          ...
      }
  i.e. "LGPL Nothing" rather than "LGPL", which we couldn't then read.

    M ./Distribution/License.hs -2 +14

20090113234229-adfee-7ae052764e23ee5333ee9d82a0e44979620b0849.gz

dcreager/cabal,dcreager/cabal