build-type: Simple
cabal-version: >=1.2
-Flag base4
- Description: Choose the even newer, even smaller, split-up base package.
-
-Flag base3
- Description: Choose the new smaller, split-up base package.
-
Executable ghc-pkg
Main-Is: Main.hs
- Extensions: CPP, ForeignFunctionInterface
-
- if flag(base4)
- Build-Depends: base >= 4 && < 5
- if flag(base3)
- Build-Depends: base >= 3 && < 4
- if !flag(base3) && !flag(base4)
- Build-Depends: base < 3
-
- if flag(base3) || flag(base4)
- Build-Depends: directory >= 1 && < 1.1,
- process >= 1 && < 1.1,
- pretty >= 1 && < 1.1
-
- if impl(ghc < 6.9)
- Build-Depends: extensible-exceptions
+ Other-Modules: Version
+ Extensions: CPP, ForeignFunctionInterface, NondecreasingIndentation
- Build-Depends: haskell98, filepath, Cabal, bin-package-db
+ Build-Depends: base >= 4 && < 5,
+ directory >= 1 && < 1.2,
+ process >= 1 && < 1.1,
+ filepath,
+ Cabal,
+ binary,
+ bin-package-db,
+ bytestring
if !os(windows)
- Build-Depends: unix
+ Build-Depends: unix,
+ terminfo
if os(windows)
c-sources: CRT_noglob.c