Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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
getStackConfig :: Maybe FilePath -> IO (Maybe StackConfig) Source