Permalink
Browse files

cabal2ebuild: adding USE=hoogle by default

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent ac5deac commit 2ed012c24c2b117d687be35ae5b95af3f9ed8167 @trofi trofi committed Nov 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cabal2Ebuild.hs
View
@@ -53,7 +53,7 @@ cabal2ebuild pkg = Portage.ebuildTemplate {
E.my_pn = if any isUpper cabalPkgName then Just cabalPkgName else Nothing,
E.features = E.features E.ebuildTemplate
++ (if hasExe then ["bin"] else [])
- ++ maybe [] (const (["lib","profile","haddock"]
+ ++ maybe [] (const (["lib","profile","haddock","hoogle"]
++ if cabalPkgName == "hscolour" then [] else ["hscolour"])
) (Cabal.library pkg) -- hscolour can't colour its own sources
} where

0 comments on commit 2ed012c

Please sign in to comment.