1 # This file was automatically generated by 'stack init'
3 # Some commonly used options have been documented as comments in this file.
4 # For advanced use and comprehensive documentation of the format, please see:
5 # https://docs.haskellstack.org/en/stable/yaml_configuration/
7 # Resolver to choose a 'specific' stackage snapshot or a compiler version.
8 # A snapshot resolver dictates the compiler version and the set of packages
9 # to be used for project dependencies. For example:
12 # resolver: nightly-2015-09-21
13 # resolver: ghc-7.10.2
15 # The location of a snapshot can be provided as a file or url. Stack assumes
16 # a snapshot provided as a file might change, whereas a url resource does not.
18 # resolver: ./custom-snapshot.yaml
19 # resolver: https://example.com/snapshots/2018-01-01.yaml
24 $locals: -O2 -Wall -Wno-missing-signatures -threaded -rtsopts -with-rtsopts=-N
27 # User packages to be built.
28 # Various formats can be used as shown in the example below.
32 # - https://example.com/foo/bar/baz-0.0.2.tar.gz
55 # Dependency packages to be pulled from upstream that are not in the resolver.
56 # These entries can reference officially published versions as well as
57 # forks / in-progress versions pinned to a git hash. For example:
61 # - git: https://github.com/commercialhaskell/stack.git
62 # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
66 # Override default flag values for local packages and extra-deps
69 # Extra package databases containing global packages
70 # extra-package-dbs: []
72 # Control whether we use the GHC we find on the path
75 # Require a specific version of stack, using version ranges
76 # require-stack-version: -any # Default
77 # require-stack-version: ">=2.1"
79 # Override the architecture used by stack, especially useful on Windows
83 # Extra directories used by stack for building
84 # extra-include-dirs: [/path/to/dir]
85 # extra-lib-dirs: [/path/to/dir]
87 # Allow a newer minor version of GHC than the snapshot specifies
88 # compiler-check: newer-minor