arunisaac pushed a commit to branch master
in repository guix.
commit 44636f57bcee12bb0cae79430fab6876fa4cab20
Author: Arun Isaac <[email protected]>
Date: Thu Jun 1 21:55:11 2017 +0530
gnu: font-comic-neue: Prevent hidden files from being installed.
* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
---
gnu/packages/fonts.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 2410727..73d76a4 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1093,6 +1093,12 @@ later hand-tweaked with the gbdfed(1) editor:
(arguments
`(#:phases
(modify-phases %standard-phases
+ ;; Delete Mac OS X specific files. If not deleted, these cause
+ ;; several hidden files to be installed.
+ (add-before 'install 'delete-macosx-files
+ (lambda _
+ (delete-file-recursively "__MACOSX")
+ #t))
(add-after 'install 'install-conf
(lambda* (#:key outputs #:allow-other-keys)
(let ((conf-dir (string-append (assoc-ref outputs "out")