summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/fontutils.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 3b33e9ffd7..c9d0d36ba1 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -76,6 +76,10 @@ anti-aliased glyph bitmap generation with 256 gray levels.")
    (inputs `(("expat" ,expat)
              ("freetype" ,freetype)
              ("pkg-config" ,pkg-config)))
+   (arguments
+     `(#:configure-flags
+        ;; point to user profile instead of /usr/share/fonts in /etc/fonts.conf
+        `("--with-default-fonts=~/.guix-profile/share/fonts")))
    (synopsis "Fontconfig, a library for configuring and customising font access.")
    (description
     "Fontconfig can discover new fonts when installed automatically;