diff options
author | Brendan Tildesley <brendan.tildesley@openmailbox.org> | 2017-11-04 02:44:03 +1100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-11-05 17:24:01 +0100 |
commit | 743d3f650297f73f328b5ca4d3f5d766482db26b (patch) | |
tree | 7e24886be1070737c00fc19028bfb68e60dff045 | |
parent | 9132212fb84d2572f0fabf623be6418b87055f98 (diff) | |
download | guix-743d3f650297f73f328b5ca4d3f5d766482db26b.tar.gz |
gnu: calibre: Install mimetypes.
* gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
-rw-r--r-- | gnu/packages/ebook.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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") |