Merge pull request #95701 from gebner/smaller_source_han
source-han-*: reduce closure size by 2x
This commit is contained in:
commit
08639bcd13
@ -19,7 +19,8 @@ let
|
|||||||
version = lib.removeSuffix "R" rev;
|
version = lib.removeSuffix "R" rev;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
install -m444 -Dt $out/share/fonts/opentype/source-han-${family} ${ttc}
|
mkdir -p $out/share/fonts/opentype/source-han-${family}
|
||||||
|
ln -s ${ttc} $out/share/fonts/opentype/source-han-${family}/SourceHan${Family}.ttc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user