summary refs log tree commit diff
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2014-04-28 21:23:23 +0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-29 12:27:03 +0200
commit8dc287b88c7adeeda1c08345cc0ce7fce7ba536a (patch)
tree3a845acf8cc925ba08e6f72bd79c9c0867ce8bd7
parent936481a12e805896e524f9b790f4f36d0300194b (diff)
downloadnixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar.gz
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar.bz2
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar.lz
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar.xz
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.tar.zst
nixlib-8dc287b88c7adeeda1c08345cc0ce7fce7ba536a.zip
Let users install fonts to their HOME directory
-rw-r--r--pkgs/development/libraries/fontconfig/make-fonts-conf.xsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl b/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl
index 073e41659312..59071ce9e22a 100644
--- a/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl
+++ b/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl
@@ -32,6 +32,9 @@
         <dir><xsl:value-of select="." /></dir>
         <xsl:text>&#0010;</xsl:text>
       </xsl:for-each>
+      <dir prefix="xdg">fonts</dir>
+      <!-- the following element will be removed in the future -->
+      <dir>~/.fonts</dir>
 
     </fontconfig>