diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-08-27 04:33:44 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-08-27 04:33:44 +0200 |
commit | 2e4007139ae000641f4f23f6e6502be5411ef479 (patch) | |
tree | ae6451aba7e2de49066b6ca6d5fab9bcbbfcb45c | |
parent | 3e22d517f7056deb254da1c7a5616f0dc01a7a97 (diff) |
Fix older Cabal versions
-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 |