diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-01 21:55:11 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-02 00:11:46 +0530 |
commit | 44636f57bcee12bb0cae79430fab6876fa4cab20 (patch) | |
tree | 2877d99e2d17514e5882872a785073ad9ee637da | |
parent | 8c5ad448436077e5e0a3aaa3789fade43b72ec6d (diff) | |
download | guix-44636f57bcee12bb0cae79430fab6876fa4cab20.tar.gz guix-44636f57bcee12bb0cae79430fab6876fa4cab20.zip |
gnu: font-comic-neue: Prevent hidden files from being installed.
* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
-rw-r--r-- | gnu/packages/fonts.scm | 6 |
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") |