[Haskell-cafe] Passing a cabal flag to stack
simon.jakobi at googlemail.com
Sat Jul 16 04:18:07 UTC 2016
> So whats the official way of putting the -fgtk3 flag into stack?
To pass that flag to poppler, the syntax is
> 1. Delete every file/directory under .stack-work that has the word poppler
That shouldn't be necessary.
> 2. stack build poppler --flag gtk:gtk3
> 3. stack build
It's best to be consistent about flag settings. It might be easiest to
put them in your stack.yaml:
Hope that helps!
More information about the Haskell-Cafe