mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
parent
ca4126e3c5
commit
ea59b79f31
1 changed files with 5 additions and 2 deletions
|
@ -72,8 +72,11 @@ in {
|
|||
(name: body: { "bat/themes/${name}.tmTheme" = { text = body; }; }));
|
||||
|
||||
home.activation.batCache = hm.dag.entryAfter [ "linkGeneration" ] ''
|
||||
$VERBOSE_ECHO "Rebuilding bat theme cache"
|
||||
$DRY_RUN_CMD ${lib.getExe package} cache --build
|
||||
(
|
||||
export XDG_CACHE_HOME=${escapeShellArg config.xdg.cacheHome}
|
||||
$VERBOSE_ECHO "Rebuilding bat theme cache"
|
||||
$DRY_RUN_CMD ${lib.getExe package} cache --build
|
||||
)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue