mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
treewide: deprecate VERBOSE_ECHO
The shell function `verboseEcho` can be used in its stead.
This commit is contained in:
parent
190c6f4609
commit
e84811035d
12 changed files with 68 additions and 29 deletions
|
|
@ -60,6 +60,29 @@ This release has the following notable changes:
|
|||
their use may in the future trigger a warning message and eventually
|
||||
they may be removed entirely.
|
||||
|
||||
- Similarly, the use of `$VERBOSE_ECHO` in activation script blocks is
|
||||
deprecated. Instead use the new shell function
|
||||
{command}`verboseEcho`. That is,
|
||||
|
||||
```nix
|
||||
home.activation.doThing = config.lib.dag.entryAnywhere ''
|
||||
$VERBOSE_ECHO "Doing the thing"
|
||||
''
|
||||
```
|
||||
|
||||
should now be expressed
|
||||
|
||||
```nix
|
||||
home.activation.doThing = config.lib.dag.entryAnywhere ''
|
||||
verboseEcho "Doing the thing"
|
||||
''
|
||||
```
|
||||
|
||||
See the description of [home.activation](#opt-home.activation) for
|
||||
more. The deprecated variable will continue to work for now but its
|
||||
use may in the future trigger a warning message and eventually it
|
||||
may be removed entirely.
|
||||
|
||||
## State Version Changes {#sec-release-24.05-state-version-changes}
|
||||
|
||||
The state version in this release includes the changes below. These
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue