diff mbox series

[bug#54471,core-updates,v2,1/3] build: font-build-system: Install web fonts.

Message ID 20220321121722.12575-1-arunisaac@systemreboot.net
State Accepted
Headers show
Series [bug#54471,core-updates,v2,1/3] build: font-build-system: Install web fonts. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Arun Isaac March 21, 2022, 12:17 p.m. UTC
* guix/build/font-build-system.scm (install): Install woff and woff2 web font
files.
---
 guix/build/font-build-system.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index 6726595fe1..9bd9524a7d 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -1,5 +1,5 @@ 
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017, 2022 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -54,6 +54,8 @@  (define* (install #:key outputs #:allow-other-keys)
               (find-files source "\\.(ttf|ttc)$"))
     (for-each (cut install-file <> (string-append fonts "/opentype"))
               (find-files source "\\.(otf|otc)$"))
+    (for-each (cut install-file <> (string-append fonts "/web"))
+              (find-files source "\\.(woff|woff2)$"))
     #t))
 
 (define %standard-phases