ekmett / distributive

Dual Traversable
http://hackage.haskell.org/package/distributive
Other
41 stars 25 forks source link

Setup.hs failing due Distribution.Package.UnitId #15

Closed cnd closed 8 years ago

cnd commented 8 years ago
Couldn't match type `Distribution.Package.UnitId'
with `Distribution.Package.ComponentId'
Expected type: [(InstalledPackageId, PackageId)]
Actual type: [(Distribution.Package.UnitId, PackageId)]
In the expression:
nub $ componentPackageDeps xs ++ componentPackageDeps ys
In an equation for `testDeps':
testDeps xs ys
= nub $ componentPackageDeps xs ++ componentPackageDeps ys
cnd commented 8 years ago

related: https://github.com/ekmett/distributive/pull/16

cnd commented 8 years ago

it was bug in cabal https://github.com/haskell/cabal/commit/ecdf65a3c1e01b798e9d073258a6d1c8ff63a6d8