Merge pull request #103779 from alexameen/fix_google_fonts_adobe_blank

This commit is contained in:
Jan Tojnar 2020-11-23 07:38:20 +01:00 committed by GitHub
commit 3f17975544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,8 @@ stdenv.mkDerivation {
pname = "google-fonts";
version = "2019-07-14";
outputs = [ "out" "adobeBlank" ];
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
@ -39,6 +41,9 @@ stdenv.mkDerivation {
'';
installPhase = ''
adobeBlankDest=$adobeBlank/share/fonts/truetype
install -m 444 -Dt $adobeBlankDest ofl/adobeblank/AdobeBlank-Regular.ttf
rm -r ofl/adobeblank
dest=$out/share/fonts/truetype
find . -name '*.ttf' -exec install -m 444 -Dt $dest '{}' +
'';