ghc-options-0.2.0.0: Utilities for extracting GHC options needed to compile a given Haskell target.

Safe HaskellSafe
LanguageHaskell2010

Language.Haskell.GhcOpts.Stack

Description

This module adds support for stack, as follows: 1. Figure out if the target-file is in a stack project, 2. If `stack.yaml` in PATH, run `stack exec` to extract StackConfig 3. Use StackConfig to alter the cabal ConfigFlags in Cabal.hs

Documentation