aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-08-05 20:22:50 +0200
committerAndreas Enge <andreas@enge.fr>2013-08-05 21:59:49 +0200
commit0ceea4f3edb6fd158613f2c46d18e037bc183f1a (patch)
treeac1e82609e7dbb40dfb4675cb1d135278dfac45c /gnu
parent0327ced235dab0977c1a61c9c6fc8450475c45b1 (diff)
downloadguix-0ceea4f3edb6fd158613f2c46d18e037bc183f1a.tar.gz
guix-0ceea4f3edb6fd158613f2c46d18e037bc183f1a.zip
gnu: fontconfig: Look for fonts in user profile.
* gnu/packages/fontutils.scm (fontconfig): Add configure flag.
Diffstat (limited to 'gnu')
-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;