summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-06-01 21:55:11 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-06-02 00:11:46 +0530
commit44636f57bcee12bb0cae79430fab6876fa4cab20 (patch)
tree2877d99e2d17514e5882872a785073ad9ee637da /gnu/packages
parent8c5ad448436077e5e0a3aaa3789fade43b72ec6d (diff)
downloadguix-44636f57bcee12bb0cae79430fab6876fa4cab20.tar.gz
gnu: font-comic-neue: Prevent hidden files from being installed.
* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/fonts.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 24107273ef..73d76a461f 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")