File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed
Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,9 @@ The `--setup-info-yaml <url>` command option specifies the location of a
400400Default: ` https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master `
401401
402402The ` --snapshot-location-base <url> ` command option specifies the base location
403- of snapshots.
403+ of snapshots. For further information, see the documentation for the
404+ corresponding non-project specific configuration
405+ [ option] ( yaml/non-project.md#snapshot-location-base ) .
404406
405407## ` --help ` or ` -h ` command flags
406408
Original file line number Diff line number Diff line change @@ -1495,7 +1495,9 @@ skip-msys: true
14951495Default : https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/
14961496(as set in the `pantry` library)
14971497
1498- Command line equivalent (takes precedence) : ` --snapshot-location-base` option
1498+ Command line equivalent (takes precedence) :
1499+ [`--snapshot-location-base`](../global_flags.md#--snapshot-location-base-command-option)
1500+ option
14991501
15001502Sets the base location of the LTS Haskell or Stackage Nightly snapshots.
15011503
Original file line number Diff line number Diff line change @@ -39,25 +39,37 @@ There are essentially four different ways of specifying a snapshot location:
39394. Via a _convenience synonym_, which provides a short form for some common
4040 URLs. These are :
4141
42- * GitHub: `github:user/repo:path` is treated as:
42+ * GitHub: `github:user/repo:path` is treated as:
4343
4444 ~~~text
4545 https://raw.githubusercontent.com/user/repo/master/path
4646 ~~~
4747
48- * LTS Haskell: `lts-X.Y` is treated (by default) as:
48+ * LTS Haskell: `lts-X.Y` is treated (by default) as:
4949
5050 ~~~text
5151 github:commercialhaskell/stackage-snapshots:lts/X/Y.yaml
5252 ~~~
5353
54- * Stackage Nightly: `nightly-YYYY-MM-DD` is treated (by default) as:
54+ and, consequently, expands to :
55+
56+ ~~~text
57+ https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/X/Y.yaml
58+ ~~~
59+
60+ * Stackage Nightly: `nightly-YYYY-MM-DD` is treated (by default) as:
5561
5662 ~~~text
5763 github:commercialhaskell/stackage-snapshots:nightly/YYYY/M/D.yaml
5864 ~~~
5965
60- !!! info
66+ and, consequently, expands to :
67+
68+ ~~~text
69+ https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/YYYY/M/D.yaml
70+ ~~~
71+
72+ !!! info "Overriding the default snapshot location base"
6173
6274 By default, LTS Haskell and Stackage Nightly snapshot configurations are
6375 retrieved from the `stackage-snapshots` GitHub repository of user
You can’t perform that action at this time.
0 commit comments