diff options
author | Colin Woodbury <colin@fosskers.ca> | 2020-08-17 11:07:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 20:07:37 +0200 |
commit | e61c51c67c0ec44d9a3bff4d68666041bf550e58 (patch) | |
tree | 6ce874c2b59f7379e3c58f2f9d98941e7de56588 /stack.yaml | |
parent | 9550aa1cd177aa6fe271d075177109d66a79e67f (diff) | |
download | stylish-haskell-e61c51c67c0ec44d9a3bff4d68666041bf550e58.tar.gz |
Use `-split-sections`
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 |