File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,15 @@ supported syntaxes for targets are:
93
93
GHC specified by the snapshot.
94
94
95
95
* * package identifier* , e.g. ` stack build foobar-1.2.3 ` , is usually used to
96
- include specific package versions from the package index. If the version
97
- selected conflicts with an existing local package or extra dep, then Stack
98
- fails with an error. Otherwise, this is the same as using
99
- ` stack build foobar ` , except instead of using the latest version from the
100
- package index, the version specified is used.
96
+ include specific package versions from the package index.
97
+
98
+ If the package name conflicts with that of a local package, then Stack
99
+ fails with an error.
100
+
101
+ Otherwise, this is the same as using ` stack build foobar ` (that is, ignoring
102
+ the specified version), unless the specified version exists in the package
103
+ index. If it exists, then the latest revision of that version from the
104
+ package index is used.
101
105
102
106
* * component* . Instead of referring to an entire package and letting Stack
103
107
decide which components to build, you select individual components from
You can’t perform that action at this time.
0 commit comments