~ruther/guix-local

1326166ebe15be3936c1a0497fd860f2fe69b5fa — Brendan Tildesley 9 years ago affaf98
gnu: calibre: Don't create uninstaller.

* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>. Add 'patch-source' phase.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/ebook.scm
M gnu/packages/ebook.scm => gnu/packages/ebook.scm +6 -0
@@ 142,6 142,12 @@
       #:use-setuptools? #f
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-source
           (lambda _
             (substitute* "src/calibre/linux.py"
               ;; We can't use the uninstaller in Guix. Don't build it.
               (("self\\.create_uninstaller()") ""))
             #t))
         (add-before 'build 'configure
          (lambda* (#:key inputs #:allow-other-keys)
            (let ((podofo (assoc-ref inputs "podofo"))