stack.yaml revision 005603425396f16a79d0443c251649cd505909f8
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch# This file was automatically generated by 'stack init'
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Some commonly used options have been documented as comments in this file.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# For advanced use and comprehensive documentation of the format, please see:
fc0b7b7df3888ffd6292050d066919dd31e9c0ccTimo Sirainen# http://docs.haskellstack.org/en/stable/yaml_configuration/
fc0b7b7df3888ffd6292050d066919dd31e9c0ccTimo Sirainen
fc0b7b7df3888ffd6292050d066919dd31e9c0ccTimo Sirainen# A warning or info to be displayed to the user on config load.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# user-message: ! 'Warning (added by new or init): Specified resolver could not satisfy
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# all dependencies. Some external packages have been added as dependencies.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# You can suppress this message by removing it from stack.yaml
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# '
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Resolver to choose a 'specific' stackage snapshot or a compiler version.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# A snapshot resolver dictates the compiler version and the set of packages
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# to be used for project dependencies. For example:
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen#
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# resolver: lts-3.5
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# resolver: nightly-2015-09-21
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# resolver: ghc-7.10.2
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# resolver: ghcjs-0.1.0_ghc-7.10.2
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# resolver:
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# name: custom-snapshot
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# location: "./custom-snapshot.yaml"
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainenresolver: lts-9.17
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# User packages to be built.
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# Various formats can be used as shown in the example below.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# packages:
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - some-directory
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - https://example.com/foo/bar/baz-0.0.2.tar.gz
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - location:
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# git: https://github.com/commercialhaskell/stack.git
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# extra-dep: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# subdirs:
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - auto-update
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# - wai
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# A package marked 'extra-dep: true' will only be built if demanded by a
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# non-dependency (i.e. a user package), and its test suites and benchmarks
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# will not be run. This is useful for tweaking upstream packages.
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainenpackages:
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - '.'
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Dependency packages to be pulled from upstream that are not in the resolver
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# (e.g., acme-missiles-0.3)
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainenextra-deps:
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - aterm-0.1.0.1
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - glade-0.13.1
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - haskeline-0.7.4.0
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-events-2.2.2.0
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-graphs-2.2.1.0
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-htk-2.2.1.3
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-posixutil-2.2.1.1
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-reactor-2.2.1.0
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-uDrawGraph-2.2.1.3
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen - uni-util-2.3.0.1
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# Override default flag values for local packages and extra-deps
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainenflags:
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen Hets:
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen httpclient: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen uniform: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen tar: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen unix: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen haskeline: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen hexpat: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen gtkglade: true
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen server: true
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen haxml: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# Extra package databases containing global packages
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainenextra-package-dbs: []
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# Control whether we use the GHC we find on the path
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# system-ghc: true
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# Require a specific version of stack, using version ranges
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# require-stack-version: -any # Default
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# require-stack-version: ">=1.4"
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Override the architecture used by stack, especially useful on Windows
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# arch: i386
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# arch: x86_64
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Extra directories used by stack for building
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# extra-include-dirs: [/path/to/dir]
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# extra-lib-dirs: [/path/to/dir]
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen#
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# Allow a newer minor version of GHC than the snapshot specifies
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# compiler-check: newer-minor
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen