git.iko.soy/typeable/control-logger
on master help sign in
Add stack.yaml
c8bd929Nick
control-logger.cabal+6−1
@@ -5,6 +5,11 @@ synopsis: Logger used by all projects
5license-file: LICENSE
5license-file: LICENSE
6build-type: Simple
6build-type: Simple
7
7
8+flag katip
9+ default: True
10+ manual: False
11+ description: Enable Katip support
12+
8library
13library
9 hs-source-dirs: src
14 hs-source-dirs: src
10 ghc-options: -Wall
15 ghc-options: -Wall
@@ -30,7 +35,7 @@ library
30 , text
35 , text
31 , time
36 , time
32 , unordered-containers
37 , unordered-containers
33− if !impl(ghcjs)
38+ if !impl(ghcjs) || !flag(katip)
34 build-depends: katip
39 build-depends: katip
35 , optparse-applicative
40 , optparse-applicative
36 default-language: Haskell2010
41 default-language: Haskell2010
stack.yamlnew file+14
@@ -0,0 +1,14 @@
1+resolver: lts-21.8
2+
3+packages:
4+- .
5+
6+extra-deps:
7+ - git: https://github.com/typeable/control-has.git
8+ commit: 017dd75cc5299dab13fc18812e7fe5ef6c1329ba
9+
10+ - git: https://github.com/typeable/control-has-katip.git
11+ commit: e9ac1b8d0fe17d8b3670d2fe344965756393ae09
12+
13+nix:
14+ packages: [zlib]