Add Cabal flag to embed assets with TH
See original GitHub issue@tibbe I see in https://github.com/tibbe/ekg/issues/22#issuecomment-48441966 that you don’t want TH in this package:
Using TH brings a host of other issues (cross compilation not working, etc) and since people who ship software to other machines to run there eventually will need to figure out how to ship whole packages of files (i.e. executable plus various templates, data files, etc) anyway, I don’t think it’s worth it.
However, we’re pretty fine with TH in dependencies and we’ve been using servant-swagger-ui that embeds its assets just fine.
So would you mind if we add a Cabal flag (disabled by default) that would enable TH-based embedding?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
6. Package Description — Cabal 3.8.1.0 User's Guide
This is far preferable to specifying flags for a specific compiler as it allows Cabal to pick the right flags for the Haskell...
Read more >stack documentation - The Haskell Tool Stack
Documentation table of contents¶ · Introduction · Using a Cabal File · Issues Referenced · Passing Flags to Cabal · Issues Referenced ·...
Read more >Please add a flag to prevent stack from re-generating Cabal ...
I want my test builds to run with the (hpack-generated) Cabal files that I've checked into the repository; I don't want stack to...
Read more >USE flag index - Gentoo Linux
DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first ... sqlite, Add support for sqlite - embedded sql...
Read more >hledger manual (1.28)
2015/10/16 bought food expenses:food $10 assets:cash ... Additionally, if the command is an add-on, you may need to put its options after a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Bump. Would be great to get more discussion on this
See https://github.com/tibbe/ekg/pull/77#issuecomment-730654534