git.iko.soy/typeable/control-logger
on master help sign in
Add stack.yaml
commitc8bd929a20beb06e23778ccab9f0f0767b785818 authorNick <nick@typeable.io> dateThu 24 Aug 2023, 21:10 (3 years ago) parentb4eb0e1
2 files changed+20−1
control-logger.cabal+6−1 stack.yaml+14
control-logger.cabal+6−1
@@ -5,6 +5,11 @@ synopsis: Logger used by all projects
55license-file: LICENSE
66build-type: Simple
77
8+flag katip
9+ default: True
10+ manual: False
11+ description: Enable Katip support
12+
813library
914 hs-source-dirs: src
1015 ghc-options: -Wall
@@ -30,7 +35,7 @@ library
3035 , text
3136 , time
3237 , unordered-containers
33− if !impl(ghcjs)
38+ if !impl(ghcjs) || !flag(katip)
3439 build-depends: katip
3540 , optparse-applicative
3641 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]