diff options
Diffstat (limited to 'stack.yaml')
-rw-r--r-- | stack.yaml | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,13 +1,15 @@ -resolver: lts-15.6 -packages: -- '.' +resolver: lts-16.9 + +# Specifying `-split-sections` in this way propagates the setting to all +# dependencies as well. The effect of this is a 50%-60% reduction in final +# binary size, with effectively no additional compilation time cost. +ghc-options: + $everything: -split-sections extra-deps: -- 'haskell-src-exts-1.23.0' - 'aeson-1.5.2.0' - 'Cabal-3.2.0.0' - 'HsYAML-aeson-0.2.0.0@rev:2' - 'HsYAML-0.2.1.0@rev:1' -- 'these-1.1.1.1' save-hackage-creds: false |