Skip to content

Commit

Permalink
Minor improvements to online documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Sep 23, 2023
1 parent e2fc5ac commit 876380e
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions doc/yaml_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1278,29 +1278,26 @@ issues for Stackage maintenance.

[:octicons-tag-24: 2.1.1](https://github.com/commercialhaskell/stack/releases/tag/v2.1.1)

Default: `true`

When Stack notices that a new version of Stack is available, should it notify
the user?

~~~yaml
recommend-stack-upgrade: true
~~~

### rebuild-ghc-options

[:octicons-tag-24: 0.1.6.0](https://github.com/commercialhaskell/stack/releases/tag/v0.1.6.0)

Default: `false`

Should we rebuild a package when its GHC options change? Before Stack 0.1.6,
this was a non-configurable `true`. However, in most cases, the flag is used to
affect optimization levels and warning behavior, for which GHC itself doesn't
actually recompile the modules anyway. Therefore, the new behavior is to not
recompile on an options change, but this behavior can be changed back with the
following:
Should Stack rebuild a package when its GHC options change?

~~~yaml
rebuild-ghc-options: true
~~~
The default value reflects that, in most cases, GHC options are used to affect
optimization levels and warning behavior, for which GHC does not recompile the
modules.

!!! note

Before Stack 0.1.6.0, Stack rebuilt a package when its GHC options changed.

### require-stack-version

Expand Down

0 comments on commit 876380e

Please sign in to comment.