Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add possibly-versioned dependency on cabal

  • Loading branch information...
commit c6327c15cdd3a2af486fdad4c27b697dbec562db 1 parent 61f04b0
Duncan Coutts authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Cabal2Ebuild.hs
View
4 Cabal2Ebuild.hs
@@ -95,7 +95,9 @@ cabal2ebuild pkg = ebuildTemplate {
license = convertLicense (Cabal.license pkg),
licenseComments = licenseComment (Cabal.license pkg),
depend = defaultDepGHC
- : convertDependencies (Cabal.buildDepends pkg),
+ : convertDependency (Cabal.Dependency "Cabal"
+ (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)
Please sign in to comment.
Something went wrong with that request. Please try again.