utf8-troubleshoot: Specify bounds on deps

This commit is contained in:
Kirill Elagin 2020-05-20 01:21:05 +03:00
parent a6f79bf38d
commit f30fc05be0
2 changed files with 17 additions and 17 deletions

View File

@ -36,13 +36,15 @@ ghc-options:
- -Wincomplete-uni-patterns
- -Wredundant-constraints
dependencies:
- base >= 4.10 && < 4.15
- text >= 0.7 && < 1.3
library:
source-dirs: lib
dependencies:
- base >= 4.10 && < 4.15
- safe-exceptions >= 0.1 && < 0.2 # only really needed for polymorphic bracket
- text >= 0.7 && < 1.3
executables:
utf8-troubleshoot:
@ -52,12 +54,11 @@ executables:
c-sources: app/utf8-troubleshoot/cbits/locale.c
dependencies:
- base
- directory
- filepath
- process
- directory >= 1.2.5.0 && < 1.4
- filepath >= 1.0 && < 1.5
- process >= 1.0.1.1 && < 1.7
- safe-exceptions
- th-env
- th-env >= 0.1.0.0 && < 0.2
tests:
with-utf8-test:
@ -67,11 +68,9 @@ tests:
dependencies:
- with-utf8
- base
- deepseq
- safe-exceptions
- temporary
- text
- unix
- hedgehog

View File

@ -4,7 +4,7 @@ cabal-version: 1.18
--
-- see: https://github.com/sol/hpack
--
-- hash: 7a8e17b836c254d67dc50ee878cda9586a823dedf7f76b1f36426f2ad817e7b3
-- hash: c5fb8b8cfe7ef3cb9154ecad570db945f7dd29478747ad654d70d38ab99f6031
name: with-utf8
version: 1.0.2.0
@ -65,12 +65,13 @@ executable utf8-troubleshoot
c-sources:
app/utf8-troubleshoot/cbits/locale.c
build-depends:
base
, directory
, filepath
, process
base >=4.10 && <4.15
, directory >=1.2.5.0 && <1.4
, filepath >=1.0 && <1.5
, process >=1.0.1.1 && <1.7
, safe-exceptions
, th-env
, text >=0.7 && <1.3
, th-env >=0.1.0.0 && <0.2
default-language: Haskell2010
test-suite with-utf8-test
@ -90,7 +91,7 @@ test-suite with-utf8-test
tasty-discover:tasty-discover
build-depends:
HUnit
, base
, base >=4.10 && <4.15
, deepseq
, hedgehog
, safe-exceptions
@ -98,7 +99,7 @@ test-suite with-utf8-test
, tasty-hedgehog
, tasty-hunit
, temporary
, text
, text >=0.7 && <1.3
, unix
, with-utf8
default-language: Haskell2010