@@ -7,7 +7,7 @@ stack config COMMAND
77
88Available commands:
99 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
1111~~~
1212
1313The ` stack config ` commands provide assistance with accessing or modifying
@@ -55,8 +55,8 @@ Available commands:
5555 installation or not.
5656~~~
5757
58- The ` stack config set ` commands allow the values of keys in YAML configuration
59- files to be set. See ` stack config set ` for the available keys.
58+ The ` stack config set ` commands allow the values of keys in configuration files
59+ to be set. See ` stack config set ` for the available keys.
6060
6161!!! note
6262
@@ -69,10 +69,12 @@ files to be set. See `stack config set` for the available keys.
6969stack config set install-ghc [--global] true|false
7070~~~
7171
72- ` stack config set install-ghc true ` or ` false ` sets the ` install-ghc ` key in a
73- YAML configuration file, accordingly. By default, the project-level
74- configuration file (` stack.yaml ` , by default) is altered. The ` --global ` flag
75- specifies the user-specific global configuration file (` config.yaml ` ).
72+ ` stack config set install-ghc true ` or ` false ` sets the
73+ [ ` install-ghc ` ] ( ../configure/yaml/non-project.md#install-ghc ) non-project
74+ specific configuration option in a configuration file, accordingly. By default,
75+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
76+ ` --global ` flag specifies the user-specific global configuration file
77+ (` config.yaml ` ).
7678
7779## The ` stack config set package-index download-prefix ` command
7880
@@ -83,10 +85,12 @@ stack config set package-index download-prefix [--global] [URL]
8385~~~
8486
8587` stack config set package-index download-prefix <url> ` sets the
86- ` download-prefix ` key of the ` package-index ` key in a YAML configuration file,
87- accordingly. By default, the project-level configuration file (` stack.yaml ` , by
88- default) is altered. The ` --global ` flag specifies the user-specific global
89- configuration file (` config.yaml ` ).
88+ ` download-prefix ` key of the
89+ [ ` package-index ` ] ( ../configure/yaml/non-project.md#package-index ) non-project
90+ specific configuration option in a configuration file, accordingly. By default,
91+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
92+ ` --global ` flag specifies the user-specific global configuration file
93+ (` config.yaml ` ).
9094
9195## The ` stack config set resolver ` command
9296
@@ -130,7 +134,9 @@ Known bug:
130134stack config set system-ghc [--global] true|false
131135~~~
132136
133- ` stack config set system-ghc true ` or ` false ` sets the ` system-ghc ` key in a
134- YAML configuration file, accordingly. By default, the project-level
135- configuration file (` stack.yaml ` , by default) is altered. The ` --global ` flag
136- specifies the user-specific global configuration file (` config.yaml ` ).
137+ ` stack config set system-ghc true ` or ` false ` sets the
138+ [ ` system-ghc ` ] ( ../configure/yaml/non-project.md#system-ghc ) non-project
139+ specific configuration option in a configuration file, accordingly. By default,
140+ the project-level configuration file (` stack.yaml ` , by default) is altered. The
141+ ` --global ` flag specifies the user-specific global configuration file
142+ (` config.yaml ` ).
0 commit comments