From 743d3f650297f73f328b5ca4d3f5d766482db26b Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sat, 4 Nov 2017 02:44:03 +1100 Subject: gnu: calibre: Install mimetypes. * gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file. Signed-off-by: Marius Bakke --- gnu/packages/ebook.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/ebook.scm') diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 659ec57d50..0eeee09054 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -183,6 +183,12 @@ (find-files (string-append (assoc-ref inputs "font-liberation") "/share/fonts/truetype"))) + #t)) + (add-after 'install-font-liberation 'install-mimetypes + (lambda* (#:key outputs #:allow-other-keys) + (install-file "resources/calibre-mimetypes.xml" + (string-append (assoc-ref outputs "out") + "/share/mime/packages")) #t))))) (home-page "http://calibre-ebook.com/") (synopsis "E-book library management software") -- cgit v1.2.3