Skip to content

Commit a536889

Browse files
committed
Merge branch 'stable' into rc/v2.11
2 parents 5f0ee41 + 5493613 commit a536889

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

doc/pantry.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ Optionally, you can specify also the Pantry tree information. For example:
147147
sha256: 614bc0cca76937507ea0a5ccc17a504c997ce458d7f2f9e43b15a10c8eaeb033
148148
~~~
149149

150+
A Pantry tree is a list of CAS (content-addressable storage)
151+
'SHA256 hash'-'size in bytes' keys for each of the files in a package.
152+
150153
The SHA256 hash of the contents of the Cabal file and its size in bytes is
151154
provided in Stack's lock file. For further information, see the
152155
[lock files](lock_files.md) documentation. The SHA256 hash and file size

doc/yaml_configuration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ extra-deps:
208208
the configuration means "extra-deps packages in directories
209209
`/dir1/dir2/my-package` and `/dir1/dir2/dir3/my-other-package`".
210210

211+
!!! note
212+
213+
A local file path that has the format of a package identifier will be
214+
interpreted as a reference to a package on Hackage. Prefix it with `./` to
215+
avoid that confusion.
216+
211217
!!! note
212218

213219
A specified extra-dep that does not have the format of a valid Pantry
@@ -468,6 +474,18 @@ of the same name. For further information, see the
468474
[`stack build` command](build_command.md) documentation and the
469475
[users guide](GUIDE.md#the-build-command).
470476

477+
### casa-repo-prefix
478+
479+
[:octicons-tag-24: 2.3.1](https://github.com/commercialhaskell/stack/releases/tag/v2.3.1)
480+
481+
Default: `https://casa.fpcomplete.com`
482+
483+
This option specifies the prefix for the URL used to pull information from the
484+
Casa (content-addressable storage archive) server that is used by Stack to cache
485+
Cabal files and all other files in packages. For further information, see this
486+
blog post about
487+
[Casa and Stack](https://www.fpcomplete.com/blog/casa-and-stack/).
488+
471489
### color
472490

473491
Command line equivalent (takes precedence): `--color` option

0 commit comments

Comments
 (0)