question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
brandon-leapyearcommented, Nov 19, 2020

Bump. Would be great to get more discussion on this

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found