Automatically run TSUpdateSync
This commit is contained in:
parent
9942150bd3
commit
a012ce350b
1 changed files with 4 additions and 1 deletions
5
home.nix
5
home.nix
|
@ -59,9 +59,12 @@
|
||||||
printf '\nRemoving luacache file: '
|
printf '\nRemoving luacache file: '
|
||||||
rm -f "$HOME/.cache/nvim/luacache"
|
rm -f "$HOME/.cache/nvim/luacache"
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
echo 'Running TSUpdateSync ...'
|
||||||
|
nvim -c 'try | execute "TSUpdateSync" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
|
||||||
|
printf '\n'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
reportChanges = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] ''
|
reportChanges = lib.hm.dag.entryAfter [ "updateAppCaches" ] ''
|
||||||
nix store diff-closures $oldGenPath $newGenPath
|
nix store diff-closures $oldGenPath $newGenPath
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue