Skip to content

Commit

Permalink
copy google-fonts instead of linking them, to reduce closure size
Browse files Browse the repository at this point in the history
  • Loading branch information
erictapen committed May 27, 2022
1 parent f299899 commit 0c86e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Expand Up @@ -96,7 +96,8 @@
else "dirty checkout";
in
''
ln -s ${pkgs.google-fonts}/share/fonts fonts/google-fonts
mkdir -p fonts/google-fonts/truetype
cp ${pkgs.google-fonts}/share/fonts/truetype/TitilliumWeb-* fonts/google-fonts/truetype/
sed -i 's|VERSIONVERSIONVERSION|${gitRevision}|g' index.html
'';
};
Expand Down

0 comments on commit 0c86e51

Please sign in to comment.