Skip to content

Commit 8064dda

Browse files
committed
Merge branch 'stable'
2 parents 299331d + 73aac53 commit 8064dda

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

doc/configure/global_flags.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ The `--setup-info-yaml <url>` command option specifies the location of a
400400
Default: `https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master`
401401

402402
The `--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

doc/configure/yaml/non-project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,9 @@ skip-msys: true
14951495
Default: 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

15001502
Sets the base location of the LTS Haskell or Stackage Nightly snapshots.
15011503

doc/topics/snapshot_location.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,37 @@ There are essentially four different ways of specifying a snapshot location:
3939
4. 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

0 commit comments

Comments
 (0)