@@ -7,7 +7,7 @@ stack config COMMAND
7
7
8
8
Available commands:
9
9
env Print environment variables for use in a shell
10
- set Sets a key in YAML configuration file to value
10
+ set Sets a key in configuration file to value
11
11
~~~
12
12
13
13
The ` stack config ` commands provide assistance with accessing or modifying
@@ -58,8 +58,8 @@ Available commands:
58
58
GHC installation.
59
59
~~~
60
60
61
- The ` stack config set ` commands allow the values of keys in YAML configuration
62
- files to be set. See ` stack config set ` for the available keys.
61
+ The ` stack config set ` commands allow the values of keys in configuration files
62
+ to be set. See ` stack config set ` for the available keys.
63
63
64
64
!!! note
65
65
@@ -73,10 +73,11 @@ stack config set install-ghc [--global] true|false
73
73
~~~
74
74
75
75
` stack config set install-ghc true ` or ` false ` sets the
76
- [ ` install-ghc ` ] ( yaml_configuration.md#install-ghc ) key in a YAML configuration
77
- file, accordingly. By default, the project-level configuration file
78
- (` stack.yaml ` , by default) is altered. The ` --global ` flag specifies the
79
- user-specific global configuration file (` config.yaml ` ).
76
+ [ ` install-ghc ` ] ( ../configure/yaml/non-project.md#install-ghc ) non-project
77
+ specific configuration option in a configuration file, accordingly. By default,
78
+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
79
+ ` --global ` flag specifies the user-specific global configuration file
80
+ (` config.yaml ` ).
80
81
81
82
## The ` stack config set package-index download-prefix ` command
82
83
@@ -88,10 +89,11 @@ stack config set package-index download-prefix [--global] [URL]
88
89
89
90
` stack config set package-index download-prefix <url> ` sets the
90
91
` download-prefix ` key of the
91
- [ ` package-index ` ] ( yaml_configuration.md#package-index ) key in a YAML
92
- configuration file, accordingly. By default, the project-level configuration
93
- file (` stack.yaml ` , by default) is altered. The ` --global ` flag specifies the
94
- user-specific global configuration file (` config.yaml ` ).
92
+ [ ` package-index ` ] ( ../configure/yaml/non-project.md#package-index ) non-project
93
+ specific configuration option in a configuration file, accordingly. By default,
94
+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
95
+ ` --global ` flag specifies the user-specific global configuration file
96
+ (` config.yaml ` ).
95
97
96
98
## The ` stack config set recommend-stack-upgrade ` command
97
99
@@ -100,10 +102,11 @@ stack config set recommend-stack-upgrade [--project] true|false
100
102
~~~
101
103
102
104
` stack config set recommend-stack-upgrade true ` or ` false ` sets the
103
- [ ` recommend-stack-upgrade ` ] ( yaml_configuration.md#recommend-stack-upgrade ) key
104
- in a YAML configuration file, accordingly. By default, the user-specific global
105
- configuration file (` config.yaml ` ) is altered. The ` --project ` flag specifies
106
- the project-level configuration file (` stack.yaml ` , by default).
105
+ [ ` recommend-stack-upgrade ` ] ( ../configure/yaml/non-project.md#recommend-stack-upgrade )
106
+ non-project specific configuration option in a configuration file, accordingly.
107
+ By default, the user-specific global configuration file (` config.yaml ` ) is
108
+ altered. The ` --project ` flag specifies the project-level configuration file
109
+ (` stack.yaml ` , by default).
107
110
108
111
## The ` stack config set resolver ` command
109
112
@@ -140,7 +143,8 @@ stack config set system-ghc [--global] true|false
140
143
~~~
141
144
142
145
` stack config set system-ghc true ` or ` false ` sets the
143
- [ ` system-ghc ` ] ( yaml_configuration.md#system-ghc ) key in a YAML configuration
144
- file, accordingly. By default, the project-level configuration file
145
- (` stack.yaml ` , by default) is altered. The ` --global ` flag specifies the
146
- user-specific global configuration file (` config.yaml ` ).
146
+ [ ` system-ghc ` ] ( ../configure/yaml/non-project.md#system-ghc ) non-project
147
+ specific configuration option in a configuration file, accordingly. By default,
148
+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
149
+ ` --global ` flag specifies the user-specific global configuration file
150
+ (` config.yaml ` ).
0 commit comments