[Haskell-cafe] Passing a cabal flag to stack
Simon Jakobi
simon.jakobi at googlemail.com
Sat Jul 16 04:18:07 UTC 2016
Hi!
> So whats the official way of putting the -fgtk3 flag into stack?
To pass that flag to poppler, the syntax is
--flag poppler:gtk3
> 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:
http://docs.haskellstack.org/en/stable/yaml_configuration/#flags
Hope that helps!
Simon
More information about the Haskell-Cafe
mailing list