Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.4 kb
module Portage.Cabal
(fromOverlay) where
import qualified Data.Map as Map
import qualified Distribution.Client.PackageIndex as Cabal
import qualified Portage.Overlay as Portage
fromOverlay :: Portage.Overlay -> Cabal.PackageIndex Portage.ExistingEbuild
fromOverlay overlay = Cabal.fromList $
[ ebuild
| (_pn, ebuilds) <- Map.toAscList (Portage.overlayMap overlay)
, ebuild <- ebuilds
Jump to Line
Something went wrong with that request. Please try again.