1 # For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
3 # Override default flag values for local packages and extra-deps
6 # Local packages, usually specified by relative directory name
9 # Local packages, usually specified by relative directory name
12 # Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
15 # Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
18 rebuild-ghc-options: true
21 "*": -Wall # -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-auto-orphans -fwarn-implicit-prelude -fwarn-missing-local-sigs -fwarn-missing-exported-sigs -fwarn-missing-import-lists -fwarn-identities
22 some-package: -DSOME_CPP_FLAG
24 # Control whether we use the GHC we find on the path
27 # Require a specific version of stack, using version ranges
28 # require-stack-version: -any # Default
29 # require-stack-version: >= 1.0.0
31 # Override the architecture used by stack, especially useful on Windows
35 # Extra directories used by stack for building
36 # extra-include-dirs: [/path/to/dir]
37 # extra-lib-dirs: [/path/to/dir]