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