source-han-*: install instead of ln

libreoffice doesn't work with fonts symlink
This commit is contained in:
linsui
2021-09-29 00:46:39 +08:00
parent ca67994224
commit 3b0afe2ee4
+1 -2
View File
@@ -19,8 +19,7 @@ let
version = lib.removeSuffix "R" rev;
buildCommand = ''
mkdir -p $out/share/fonts/opentype/source-han-${family}
ln -s ${ttc} $out/share/fonts/opentype/source-han-${family}/SourceHan${Family}.ttc
install -m444 -Dt $out/share/fonts/opentype/source-han-${family} ${ttc}
'';
meta = {