Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge/Dependencies.hs: add 'ghc' to list of known build tools

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
commit 11950af1a62d1c1282ace382cde6f15c7ad8388e 1 parent b231a61
@trofi trofi authored
Showing with 3 additions and 0 deletions.
  1. +2 −0  Merge.hs
  2. +1 −0  Merge/Dependencies.hs
View
2  Merge.hs
@@ -199,6 +199,8 @@ mergeGenericPackageDescription verbosity overlayPath cat pkgGenericDesc fetch =
pkgGenericDesc]
-- drop circular deps and shipped deps
, let (ad, _sd, _rd) = genSimple (Cabal.buildDepends pkgDesc1)
+ -- TODO: drop ghc libraries from tests depends as well
+ -- (see deepseq in hackport-0.3.5 as an example)
, let pkgDesc_filtered_bdeps = pkgDesc1 { Cabal.buildDepends = ad }
]
where
View
1  Merge/Dependencies.hs
@@ -365,6 +365,7 @@ buildToolsTable =
, ("cabal", any_c_p "dev-haskell" "cabal-install")
, ("llvm-config", any_c_p "sys-devel" "llvm")
, ("cpphs", any_c_p "dev-haskell" "cpphs")
+ , ("ghc", any_c_p "dev-lang" "ghc")
]
-- tools that are provided by ghc or some other existing program
Please sign in to comment.
Something went wrong with that request. Please try again.