22#
33# Some commonly used options have been documented as comments in this file.
44# For advanced use and comprehensive documentation of the format, please see:
5- # https://docs.haskellstack.org/en/stable/yaml_configuration /
5+ # https://docs.haskellstack.org/en/stable/configure/yaml /
66
7- # Resolver to choose a 'specific' stackage snapshot or a compiler version.
7+ # A 'specific' Stackage snapshot or a compiler version.
88# A snapshot resolver dictates the compiler version and the set of packages
99# to be used for project dependencies. For example:
1010#
11- # resolver : lts-3.5
12- # resolver : nightly-2015-09-21
13- # resolver : ghc-7.10.2
11+ # snapshot : lts-23.0
12+ # snapshot : nightly-2024-12-13
13+ # snapshot : ghc-9.8.4
1414#
1515# The location of a snapshot can be provided as a file or url. Stack assumes
1616# a snapshot provided as a file might change, whereas a url resource does not.
1717#
18- # resolver : ./custom-snapshot.yaml
19- # resolver : https://example.com/snapshots/2018 -01-01.yaml
20- resolver :
21- url : https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/9 .yaml
18+ # snapshot : ./custom-snapshot.yaml
19+ # snapshot : https://example.com/snapshots/2024 -01-01.yaml
20+ snapshot :
21+ url : https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/24/4 .yaml
2222
2323# User packages to be built.
2424# Various formats can be used as shown in the example below.
@@ -32,7 +32,7 @@ resolver:
3232packages :
3333- xmonad
3434- xmonad-contrib
35- # Dependency packages to be pulled from upstream that are not in the resolver .
35+ # Dependency packages to be pulled from upstream that are not in the snapshot .
3636# These entries can reference officially published versions as well as
3737# forks / in-progress versions pinned to a git hash. For example:
3838#
@@ -42,10 +42,10 @@ packages:
4242# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
4343#
4444# extra-deps: []
45- dependencies :
46- - split-0.2.3. 5
45+ extra-deps :
46+ - split-0.2.5
4747
48- # Override default flag values for local packages and extra-deps
48+ # Override default flag values for project packages and extra-deps
4949# flags: {}
5050
5151# Extra package databases containing global packages
@@ -54,15 +54,15 @@ dependencies:
5454# Control whether we use the GHC we find on the path
5555# system-ghc: true
5656#
57- # Require a specific version of stack , using version ranges
57+ # Require a specific version of Stack , using version ranges
5858# require-stack-version: -any # Default
59- # require-stack-version: ">=2.5 "
59+ # require-stack-version: ">=3.3 "
6060#
61- # Override the architecture used by stack , especially useful on Windows
61+ # Override the architecture used by Stack , especially useful on Windows
6262# arch: i386
6363# arch: x86_64
6464#
65- # Extra directories used by stack for building
65+ # Extra directories used by Stack for building
6666# extra-include-dirs: [/path/to/dir]
6767# extra-lib-dirs: [/path/to/dir]
6868#
0 commit comments