File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -1480,6 +1480,21 @@ environment variable or using Stack's `--stack-root` option on the command line.
1480
1480
`~/.config/stack` on Unix-like operating systems and `%APPDIR%\stack` on
1481
1481
Windows.
1482
1482
1483
+ This approach treats:
1484
+
1485
+ * the project-level YAML configuration file that is common to all projects
1486
+ without another such file in their project directory or its ancestor
1487
+ directories as _data_ rather than as part of Stack's own
1488
+ _configuration_;
1489
+
1490
+ * the snapshots database as essential data rather than as non-essential
1491
+ data that would be part of a _cache_, notwithstanding that Stack will
1492
+ rebuild that database as its contents are needed; and
1493
+
1494
+ * the Pantry store as essential data rather than as non-essential data
1495
+ that would be part of a _cache_, notwithstanding that Stack will
1496
+ download the package index and rebuild the store if it is absent.
1497
+
1483
1498
The location of the Stack root is reported by command:
1484
1499
1485
1500
~~~ text
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ The following assumes that you already have installed a version of Stack and the
335
335
1 . Clone the ` stack ` repository from GitHub with the command:
336
336
337
337
~~~ text
338
- git clone https://github.com/commercialhaskell/stack.git`
338
+ git clone https://github.com/commercialhaskell/stack.git
339
339
~~~
340
340
341
341
2. Change the current working directory to the cloned `stack` directory with the
Original file line number Diff line number Diff line change @@ -207,24 +207,24 @@ GitHub repository.
207
207
There is also an unofficial package for openSUSE or SUSE Linux
208
208
Enterprise. Its Stack version may lag behind. To install it:
209
209
210
- === openSUSE Tumbleweed
210
+ === " openSUSE Tumbleweed"
211
211
212
212
~~~text
213
213
sudo zypper in stack
214
214
~~~
215
215
216
- === openSUSE Leap
216
+ === " openSUSE Leap"
217
217
218
218
~~~text
219
219
sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/haskell/openSUSE_Leap_42.1/devel:languages:haskell.repo
220
220
sudo zypper in stack
221
221
~~~
222
222
223
- === SUSE Linux Enterprise 12
223
+ === " SUSE Linux Enterprise 12"
224
224
225
225
~~~text
226
226
sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/haskell/SLE_12/devel:languages:haskell.repo
227
- sude zypper in stack
227
+ sudo zypper in stack
228
228
~~~
229
229
230
230
=== "Ubuntu"
You can’t perform that action at this time.
0 commit comments