See https://haskellstack.org/ for installation and upgrade instructions.
Changes since v2.9.1:
Behavior changes:
package-index
key is introduced which takes precedence over the existing package-indices
key. The latter is deprecated.hackage-security
key of the package-index
key or the package-indices
item can be omitted, and the Hackage Security configuration for the item will default to that for the official Hackage server. See #5870.stack config set package-index download-prefix
command to set the location of Stack's package index in YAML configuration files.stack setup
with the --no-install-ghc
flag warns that the flag and the command are inconsistent and now takes no action. Previously the flag was silently ignored.[S-nnnn]
, where nnnn
is a four-digit number.stdin
) will not throw an exception. Previously, they would thow an exception, consistent with Cabal's 'exitcode-stdio-1.0' test suite interface specification. Pass the flag --no-tests-allow-stdin
to stack build
to enforce Cabal's specification. See #5897Other enhancements:
stack upgrade
warns that if GHCup is used to install Stack, only GHCup should be used to upgrade Stack. That is because GHCup uses an executable named stack
to manage versions of Stack, that Stack will likely overwrite on upgrade.stack ls dependencies cabal
command, which lists dependencies in the format of exact Cabal constraints.STACK_XDG
environment variable to use the XDG Base Directory Specification for the Stack root and Stack's global YAML configuration file, if the Stack root location is not set on the command line or by using the STACK_ROOT
environment variable.stack path --global-config
, to yield the full path of Stack's user-specific global YAML configuration file (config.yaml
).allow-newer-deps
, which allows users to specify a subset of dependencies for which version bounds should be ignored (allow-newer-deps: ['foo', 'bar']
). This field has no effect unless allow-newer
is enabled.Bug fixes:
Distribution.PackageDescription
, if compiling StackSetupShim
with Cabal-syntax-3.8.1.0
in package database. See #5886.package-indices
key (or the hackage-security
key of its item) is omitted, the expiration of timestampsThanks 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