1
0
Fork 0

Automatically run TSUpdateSync

This commit is contained in:
Daniel Kempkens 2021-12-20 22:29:36 +01:00
parent 9942150bd3
commit a012ce350b

View file

@ -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
''; '';
}; };