Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reorder the features list

  • Loading branch information...
commit f5d6f88de3c31afe1ded617d6f01647d5f0d7d1b 1 parent 4762099
Duncan Coutts authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Cabal2Ebuild.hs
View
6 Cabal2Ebuild.hs
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.