Hi Adam! Thanks for emailing the list, I am currently processing my big backlog of email. I've turned this into a stack issue: https://github.com/commercialhaskell/stack/issues/2626 What do you think of that approach?
-Michael On Thu, Aug 25, 2016 at 4:28 AM, Adam Bergmark <[email protected]> wrote: > Hi, > > I'm struck by https://github.com/phonohawk/HsOpenSSL/issues/41 where one > solution is to specify extra-include-dirs and extra-lib-dirs to use when > compiling HsOpenSSL. > > One way is to add these to the stack.yaml's of all projects that use > HsOpenSSL along with ~/.stack/global-project/stack.yaml. This could be > added to the stack.yaml template but for shared stack.yaml's this is cruft > for non-OS X users. > > Another way is to set this globally in ~/.stack/config.yaml. The > disadvantage here is that this flag is set for local packages *and* > extra-deps, so when building unrelated things I get recompiles along these > lines: "haskell-src-exts-1.18.2: unregistering (flags changed from [] to > ["--extra-include-dirs=/usr/local/opt/openssl/include","-- > extra-lib-dirs=/usr/local/opt/openssl/lib"])". > > Optimally I would be able to specify this globally in ~/.stack/config.yaml > but only have it apply to HsOpenSSL. > > As far as I can see this is not possible at the moment. Has it been > discussed? Do you think it's a good idea? > > Regards, > Adam > > -- > You received this message because you are subscribed to the Google Groups > "haskell-stack" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/haskell-stack/CACnqJZYhm73Dz6p25KF7aUhRxH9ii > TR8bz3ru28rCshx3rGZrA%40mail.gmail.com > <https://groups.google.com/d/msgid/haskell-stack/CACnqJZYhm73Dz6p25KF7aUhRxH9iiTR8bz3ru28rCshx3rGZrA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAEYHaY6Eg%3DBpcj-%3DiTNnQv2Y7Bw%2BhPpLAwEgfcSYyUAOGPJcNQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
