aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author8p8c <cameltheman@gmail.com>2016-10-06 00:15:53 +0300
committer宋文武 <iyzsong@gmail.com>2016-10-06 20:59:05 +0800
commitb94ee996cea9fda51751ee7ebab6cf0f01aadfdd (patch)
tree347164ef53137198191434f07a2c53cb3caa10f8 /gnu
parent3126fd8820e8c30e27ef978d66dced8763d04905 (diff)
downloadguix-b94ee996cea9fda51751ee7ebab6cf0f01aadfdd.tar
guix-b94ee996cea9fda51751ee7ebab6cf0f01aadfdd.tar.gz
gnu: font-hack: Remove empty doc directory.
* gnu/packages/fonts.scm (font-hack)[arguments]: Remove superfluous code in #:builder. Signed-off-by: 宋文武 <iyzsong@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fonts.scm11
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index fe6c227029..e4456a4a8a 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -837,22 +837,15 @@ glyph designs, not just an added slant.")
"unzip")
"/bin"))
(font-dir (string-append %output
- "/share/fonts/truetype"))
- (doc-dir (string-append %output "/share/doc/"
- ,name "-" ,version)))
+ "/share/fonts/truetype")))
(setenv "PATH" PATH)
(system* "unzip" (assoc-ref %build-inputs "source"))
(mkdir-p font-dir)
- (mkdir-p doc-dir)
(for-each (lambda (ttf)
(copy-file ttf
(string-append font-dir "/" ttf)))
- (find-files "." "\\.ttf$"))
- (for-each (lambda (doc)
- (copy-file doc
- (string-append doc-dir "/" doc)))
- (find-files "." "\\.txt$"))))))
+ (find-files "." "\\.ttf$"))))))
(native-inputs
`(("source" ,source)
("unzip" ,unzip)))