Skip to content

Commit 8a3c596

Browse files
committed
Re #6121 Document casa-repo-prefix
1 parent fc78530 commit 8a3c596

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,18 @@ of the same name. For further information, see the
456456
[`stack build` command](build_command.md) documentation and the
457457
[users guide](GUIDE.md#the-build-command).
458458

459+
### casa-repo-prefix
460+
461+
[:octicons-tag-24: 2.3.1](https://github.com/commercialhaskell/stack/releases/tag/v2.3.1)
462+
463+
Default: https://casa.fpcomplete.com
464+
465+
This option specifies the prefix for the URL used to pull information from the
466+
Casa (content-addressable storage archive) server that is used by Stack to cache
467+
Cabal files and all other files in packages. For further information, see this
468+
blog post about
469+
[Casa and Stack](https://www.fpcomplete.com/blog/casa-and-stack/).
470+
459471
### color
460472

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

0 commit comments

Comments
 (0)