diff options
Diffstat (limited to 'CabalHelper/Licenses.hs')
-rw-r--r-- | CabalHelper/Licenses.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/CabalHelper/Licenses.hs b/CabalHelper/Licenses.hs index 9d11f3a..7c261bf 100644 --- a/CabalHelper/Licenses.hs +++ b/CabalHelper/Licenses.hs @@ -58,12 +58,7 @@ getDependencyInstalledPackageIds :: Cabal.LocalBuildInfo -> Set Cabal.InstalledPackageId getDependencyInstalledPackageIds lbi = findTransitiveDependencies (Cabal.installedPkgs lbi) $ - Set.fromList - [ installedPackageId - | (_, componentLbi, _) <- Cabal.componentsConfigs lbi - , (installedPackageId, _) <- Cabal.componentPackageDeps componentLbi - ] - + Set.fromList $ map fst $ Cabal.externalPackageDeps lbi -------------------------------------------------------------------------------- getDependencyInstalledPackageInfos |