summaryrefslogtreecommitdiffhomepage
path: root/stack.yaml
diff options
context:
space:
mode:
authorColin Woodbury <colin@fosskers.ca>2020-08-17 11:07:37 -0700
committerGitHub <noreply@github.com>2020-08-17 20:07:37 +0200
commite61c51c67c0ec44d9a3bff4d68666041bf550e58 (patch)
tree6ce874c2b59f7379e3c58f2f9d98941e7de56588 /stack.yaml
parent9550aa1cd177aa6fe271d075177109d66a79e67f (diff)
downloadstylish-haskell-e61c51c67c0ec44d9a3bff4d68666041bf550e58.tar.gz
Use `-split-sections`
Diffstat (limited to 'stack.yaml')
-rw-r--r--stack.yaml12
1 files changed, 7 insertions, 5 deletions
diff --git a/stack.yaml b/stack.yaml
index a52bc65..59f2be5 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -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