Merge pull request #103779 from alexameen/fix_google_fonts_adobe_blank
This commit is contained in:
commit
3f17975544
1 changed files with 5 additions and 0 deletions
|
@ -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 '{}' +
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue