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
|
|
@ -162,7 +162,7 @@ in {
|
|||
home.activation.batCache = hm.dag.entryAfter [ "linkGeneration" ] ''
|
||||
(
|
||||
export XDG_CACHE_HOME=${escapeShellArg config.xdg.cacheHome}
|
||||
$VERBOSE_ECHO "Rebuilding bat theme cache"
|
||||
verboseEcho "Rebuilding bat theme cache"
|
||||
run ${lib.getExe package} cache --build
|
||||
)
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ in {
|
|||
'';
|
||||
|
||||
home.activation.regenDotTaskRc = hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
$VERBOSE_ECHO "Ensuring generated taskwarrior config included in taskrc"
|
||||
verboseEcho "Ensuring generated taskwarrior config included in taskrc"
|
||||
|
||||
if [[ ! -s "${userConf}" ]]; then
|
||||
# Ensure file's existence
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ in {
|
|||
text = extensionJson;
|
||||
onChange = ''
|
||||
run rm $VERBOSE_ARG -f ${extensionPath}/{extensions.json,.init-default-profile-extensions}
|
||||
$VERBOSE_ECHO "Regenerating VSCode extensions.json"
|
||||
verboseEcho "Regenerating VSCode extensions.json"
|
||||
run ${getExe cfg.package} --list-extensions > /dev/null
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue