You can download binaries for this pre-release now from Release rc/v3.7.0.1 (release candidate) · commercialhaskell/stack · GitHub . It should be available also via GHCup’s prereleases channel soon.
Please test it and let us know at the Stack repository if you run into any trouble. If all goes well, we hope to release the final version in a couple of weeks.
Changes since v3.5.1:
Other enhancements:
- Bump to Hpack 0.38.1.
- The
--extra-depoption of Stack’sscriptcommand now accepts a YAML value specifying any immutable extra-dep. Previously only an extra-dep in the package index that could be specified by a YAML string (for example,acme-missiles-0.3@rev:0) was accepted.
Bug fixes:
stack script --package <pkg-name>now uses GHC’s-package-idoption to expose the installed package, rather than GHC’s-packageoption. For packages with public sub-libraries,-package <pkg>can expose an installed package other than one listed byghc-pkg list <pkg>.- Work around
ghc-pkgbug where, on Windows only, it cannot register a package into a package database that is also listed in theGHC_PACKAGE_PATHenvironment variable. In previous versions of Stack, this affectedstack scriptwhen copying a pre-compiled package from another package database. - On Windows, when decompressing, and extracting, tools from archive files, Stack uses the system temporary directory, rather than the root of the destination drive, if the former is on the destination drive.