Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

source-han-*: reduce closure size by 2x

The file name of the installed font was the path returned by fetchurl:
`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-SourceHanSans.ttc`

This caused the derivation to reference the downloaded font file,
storing the font twice unless you optimise the store (each file is
~150M).

+2 -1
+2 -1
pkgs/data/fonts/source-han/default.nix
··· 19 version = lib.removeSuffix "R" rev; 20 21 buildCommand = '' 22 - install -m444 -Dt $out/share/fonts/opentype/source-han-${family} ${ttc} 23 ''; 24 25 meta = {
··· 19 version = lib.removeSuffix "R" rev; 20 21 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 24 ''; 25 26 meta = {