mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
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;
|
||||
|
||||
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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user