git.iko.soy/typeable/nixpkgs
on master help sign in
source-han-*: install instead of ln

libreoffice doesn't work with fonts symlink

commit3b0afe2ee4ea98818c214b82f246dfe8547182f2 authorlinsui <linsui555@gmail.com> dateWed 29 Sep 2021, 00:46 (5 years ago) parentca67994
1 file changed+1−2
pkgs/data/fonts/source-han/default.nix+1−2
pkgs/data/fonts/source-han/default.nix+1−2
@@ -19,8 +19,7 @@ let
1919 version = lib.removeSuffix "R" rev;
2020
2121 buildCommand = ''
22− mkdir -p $out/share/fonts/opentype/source-han-${family}
23− ln -s ${ttc} $out/share/fonts/opentype/source-han-${family}/SourceHan${Family}.ttc
22+ install -m444 -Dt $out/share/fonts/opentype/source-han-${family} ${ttc}
2423 '';
2524
2625 meta = {