Merge pull request #95701 from gebner/smaller_source_han

source-han-*: reduce closure size by 2x
This commit is contained in:
Gabriel Ebner 2020-08-18 12:54:31 +02:00 committed by GitHub
commit 08639bcd13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ let
version = lib.removeSuffix "R" rev;
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 = {