See https://haskellstack.org/ for installation and upgrade instructions.
Release notes:
Changes since v2.15.7:
Behavior changes:
init
command will not try LTS Haskell before 12.0.init
command initialises stack.yaml
with a snapshot
key rather than a resolver
key.--skip-intermediate-deps
, effectively deprecated since Stack 1.3.0, from ghci
and repl
commands.haddock --haddock-for-hackage
command only seeks to create an archive of the <package_version>-docs
directory for build targets and if flags excluding the building of project packages are not set.package-index
, package-indices
(deprecated in Stack 2.9.3) has been removed as an alternative option.list
command, with a specified snapshot and package, also reports the version of the package included indirectly in the snapshot (as a boot package of the compiler specified by the snapshot).stack build --flag *:[-]<flag_name>
now only applies the flag setting to packages for which the Cabal flag is defined, as opposed to all packages./etc/stack/config
, deprecated in Stack 0.1.6.0.global
and file stack.yaml
, both deprecated in Stack 0.1.6.0.Other enhancements:
msys-environment
key is introduced to allow, on Windows, the MSYS2 environment to be specified. The default environment is still MINGW64
on 64-bit Windows and MINGW32
on 32-bit Windows.default-init-snapshot
key is introduced to allow a default snapshot to be specified for use with the stack init
command, as if it had been specified at the command line.--haddock-executables
, --haddock-tests
and --haddock-benchmarks
to Stack's build
command (including the haddock
synonym for build --haddock
) to enable also building Haddock documentation for executables, test suites and benchmarks. Due to a bug in Cabal (the library), Stack will ignore the flags with a warning for GHC versions before 9.4.--[no-]save-hackage-creds
to Stack's upload
command, which takes precedence over the existing save-hackage-creds
configuration option.global-hints-location
key is introduced to allow the location of the global hints YAML specification file to be specified.hpack-force
key is introduced to allow Hpack to overwrite such a Cabal file. The corresponding --hpack-force
flag is also added.stack config set recommend-stack-upgrade
command to configure whether or not Stack should notify the user if it identifes a new version of Stack is available in YAML configuration files.ls globals
command to list all global packages for the version of GHC specified by the snapshot.stack -h
(equivalent to stack --help
).file-watch-hook
key is introduced to allow --file-watch
post-processing to be customised with a executable or sh
shell script.--[no-]allow-newer
to Stack's build
command, which takes precedence over the existing allow-newer
configuration option.Bug fixes:
config set snapshot
and config set resolver
commands now respect the presence of a synoymous key.config set
commands support existing keys only in the form key: value
on a single line. The commands now recognise that a line key:
does not have that form.test --coverage
command now finds package keys even for very long package names.script
command to parse an (otherwise ignored) project-level configuration file.Custom
build type, if GHC option -haddock
was specified.Thanks to all our contributors for this release:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4