Permalink
Browse files

reorder the features list

  • Loading branch information...
1 parent 4762099 commit f5d6f88de3c31afe1ded617d6f01647d5f0d7d1b Duncan Coutts committed Jan 16, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 Cabal2Ebuild.hs
View
@@ -99,9 +99,9 @@ cabal2ebuild pkg = ebuildTemplate {
(Cabal.descCabalVersion pkg))
++ convertDependencies (Cabal.buildDepends pkg),
my_pn = if any isUpper cabalPkgName then Just cabalPkgName else Nothing,
- features = (features ebuildTemplate)
- ++ maybe [] (const ["profile","haddock", "lib"]) (Cabal.library pkg)
- ++ if null (Cabal.executables pkg) then [] else ["bin"]
+ features = features ebuildTemplate
+ ++ if null (Cabal.executables pkg) then [] else ["bin"]
+ ++ maybe [] (const ["lib","profile","haddock"]) (Cabal.library pkg)
} where
cabalPkgName = Cabal.pkgName (Cabal.package pkg)

0 comments on commit f5d6f88

Please sign in to comment.