From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBNRx-0001wL-TT for guix-patches@gnu.org; Sun, 05 Nov 2017 11:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBNRu-00013r-Ph for guix-patches@gnu.org; Sun, 05 Nov 2017 11:07:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBNRu-00013l-L4 for guix-patches@gnu.org; Sun, 05 Nov 2017 11:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBNRu-0002aQ-Fn for guix-patches@gnu.org; Sun, 05 Nov 2017 11:07:02 -0500 Subject: [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20171103154403.6212-5-brendan.tildesley@openmailbox.org> References: <20171103154403.6212-1-brendan.tildesley@openmailbox.org> <20171103154403.6212-5-brendan.tildesley@openmailbox.org> Date: Sun, 05 Nov 2017 17:06:08 +0100 Message-ID: <874lq8hfrj.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Brendan Tildesley , 29136@debbugs.gnu.org --=-=-= Content-Type: text/plain Brendan Tildesley writes: > * gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file. > --- > gnu/packages/ebook.scm | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm > index 659ec57d5..5c392cc75 100644 > --- a/gnu/packages/ebook.scm > +++ b/gnu/packages/ebook.scm > @@ -183,7 +183,12 @@ > (find-files (string-append > (assoc-ref inputs "font-liberation") > "/share/fonts/truetype"))) > - #t))))) > + #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"))))))) (install-file ...) has an unspecified return value, so I added a #t here. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAln/NvAACgkQoqBt8qM6 VPoiIwgAzeMADFVAh+aNh+DczT+/mn47tbX+EtllJ+EGud2y7q+LjBk18YeUZsji wNytIMdJSM3HxslzG+fvN4l71H5tqCzEwsPzAIU2SzZfrUSc2INGU/iRN/TxZMqJ cG8PNlE5NfikviBN07a2XeQa98olHlKjp88dKFiu0Pjr523q98dwORjIx3PaZeFF K/a6nlbt+Ccq6JTXzdgF5VfY73y+9mdbVu8m0ycoGasiCWzV/l9hL/ND4UCLFlGh PqXAZaJaVoAA8OKm3y2Z97nteylwHfuEqq390vwk7p4E1S2JarjoT55gr1Bxtt60 bb8G1nZeGc0c1SKu8nD/ThquSqm7xw== =G0+3 -----END PGP SIGNATURE----- --=-=-=--