fonts: work around rsync directory perms
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
aa0840ff73
commit
bd99a513b3
1 changed files with 3 additions and 1 deletions
|
@ -100,8 +100,10 @@ in {
|
||||||
# HACK: Some applications do not support fontconfig nor symlinks, so copy fonts to user directory
|
# HACK: Some applications do not support fontconfig nor symlinks, so copy fonts to user directory
|
||||||
# https://github.com/ONLYOFFICE/DocumentServer/issues/1859 et al.
|
# https://github.com/ONLYOFFICE/DocumentServer/issues/1859 et al.
|
||||||
home.activation = {
|
home.activation = {
|
||||||
|
# BUG: rsync sets directory permissions too early
|
||||||
|
# https://github.com/RsyncProject/rsync/issues/609
|
||||||
copy-fonts = lib.home-manager.hm.dag.entryAfter ["writeBoundary"] ''
|
copy-fonts = lib.home-manager.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
run ${rsync} --recursive --copy-links \
|
run ${rsync} --recursive --copy-links --times \
|
||||||
/run/current-system/sw/share/fonts "$XDG_DATA_HOME/"
|
/run/current-system/sw/share/fonts "$XDG_DATA_HOME/"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue