diff options
Diffstat (limited to 'kiki.cabal')
-rw-r--r-- | kiki.cabal | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -23,6 +23,9 @@ Flag needlocale | |||
23 | Description: Link against old-locale package for older versions of the time package. | 23 | Description: Link against old-locale package for older versions of the time package. |
24 | Default: False | 24 | Default: False |
25 | 25 | ||
26 | Flag unixEnv | ||
27 | Default: False | ||
28 | |||
26 | Executable kiki | 29 | Executable kiki |
27 | Main-is: kiki.hs | 30 | Main-is: kiki.hs |
28 | -- base >=4.6 due to use of readEither in KikiD.Message | 31 | -- base >=4.6 due to use of readEither in KikiD.Message |
@@ -126,8 +129,7 @@ Test-suite testkiki | |||
126 | type: exitcode-stdio-1.0 | 129 | type: exitcode-stdio-1.0 |
127 | Main-is: testkiki.hs | 130 | Main-is: testkiki.hs |
128 | hs-source-dirs: testkiki | 131 | hs-source-dirs: testkiki |
129 | Build-depends: base | 132 | Build-depends: Cabal |
130 | , Cabal | ||
131 | , hspec | 133 | , hspec |
132 | , process | 134 | , process |
133 | , directory | 135 | , directory |
@@ -135,4 +137,7 @@ Test-suite testkiki | |||
135 | , filepath | 137 | , filepath |
136 | , bytestring | 138 | , bytestring |
137 | , kiki | 139 | , kiki |
138 | 140 | if flag(unixEnv) | |
141 | Build-depends: base < 4.7.0, unix | ||
142 | else | ||
143 | Build-depends: base >= 4.7.0 | ||