2016-05-21 13:41:56 +00:00
|
|
|
# This file was automatically generated by 'stack init'
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-21 13:41:56 +00:00
|
|
|
# Some commonly used options have been documented as comments in this file.
|
|
|
|
# For advanced use and comprehensive documentation of the format, please see:
|
2018-05-27 19:28:08 +00:00
|
|
|
# https://docs.haskellstack.org/en/stable/yaml_configuration/
|
2016-05-11 21:39:02 +00:00
|
|
|
|
2016-05-21 13:41:56 +00:00
|
|
|
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
|
|
|
|
# A snapshot resolver dictates the compiler version and the set of packages
|
|
|
|
# to be used for project dependencies. For example:
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-21 13:41:56 +00:00
|
|
|
# resolver: lts-3.5
|
|
|
|
# resolver: nightly-2015-09-21
|
|
|
|
# resolver: ghc-7.10.2
|
|
|
|
# resolver: ghcjs-0.1.0_ghc-7.10.2
|
|
|
|
# resolver:
|
|
|
|
# name: custom-snapshot
|
|
|
|
# location: "./custom-snapshot.yaml"
|
2022-04-16 09:23:52 +00:00
|
|
|
resolver: lts-19.2
|
2016-05-11 21:39:02 +00:00
|
|
|
|
2016-05-21 13:41:56 +00:00
|
|
|
# User packages to be built.
|
|
|
|
# Various formats can be used as shown in the example below.
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-21 13:41:56 +00:00
|
|
|
# packages:
|
|
|
|
# - some-directory
|
|
|
|
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
|
|
|
|
# - location:
|
|
|
|
# git: https://github.com/commercialhaskell/stack.git
|
|
|
|
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
|
|
|
|
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
|
|
|
|
# subdirs:
|
|
|
|
# - auto-update
|
|
|
|
# - wai
|
2016-05-11 21:39:02 +00:00
|
|
|
packages:
|
2018-05-27 19:28:08 +00:00
|
|
|
- .
|
2016-05-21 13:41:56 +00:00
|
|
|
# Dependency packages to be pulled from upstream that are not in the resolver
|
2018-05-27 19:28:08 +00:00
|
|
|
# using the same syntax as the packages field.
|
2016-05-21 13:41:56 +00:00
|
|
|
# (e.g., acme-missiles-0.3)
|
2019-10-24 11:46:58 +00:00
|
|
|
extra-deps: [ ]
|
2016-05-11 21:39:02 +00:00
|
|
|
|
|
|
|
# Override default flag values for local packages and extra-deps
|
2018-05-27 19:28:08 +00:00
|
|
|
# flags: {}
|
2016-05-11 21:39:02 +00:00
|
|
|
|
|
|
|
# Extra package databases containing global packages
|
2018-05-27 19:28:08 +00:00
|
|
|
# extra-package-dbs: []
|
2016-05-11 21:39:02 +00:00
|
|
|
|
|
|
|
# Control whether we use the GHC we find on the path
|
|
|
|
# system-ghc: true
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-11 21:39:02 +00:00
|
|
|
# Require a specific version of stack, using version ranges
|
|
|
|
# require-stack-version: -any # Default
|
2018-05-27 19:28:08 +00:00
|
|
|
# require-stack-version: ">=1.7"
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-11 21:39:02 +00:00
|
|
|
# Override the architecture used by stack, especially useful on Windows
|
|
|
|
# arch: i386
|
|
|
|
# arch: x86_64
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-11 21:39:02 +00:00
|
|
|
# Extra directories used by stack for building
|
|
|
|
# extra-include-dirs: [/path/to/dir]
|
|
|
|
# extra-lib-dirs: [/path/to/dir]
|
2016-06-13 12:04:01 +00:00
|
|
|
#
|
2016-05-11 21:39:02 +00:00
|
|
|
# Allow a newer minor version of GHC than the snapshot specifies
|
2016-09-15 21:10:26 +00:00
|
|
|
# compiler-check: newer-minor
|