From 44636f57bcee12bb0cae79430fab6876fa4cab20 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 1 Jun 2017 21:55:11 +0530 Subject: 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(+) (limited to 'gnu') 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") -- cgit v1.2.3