aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBrendan Tildesley <brendan.tildesley@openmailbox.org>2017-05-16 10:53:44 +1000
committerMarius Bakke <mbakke@fastmail.com>2017-05-19 23:49:21 +0200
commit1326166ebe15be3936c1a0497fd860f2fe69b5fa (patch)
tree3136fe71a9ae276477c82669bfd33edd11fe056c /gnu
parentaffaf98f7747347e6be28aa9ebf54a0509ca5155 (diff)
downloadpatches-1326166ebe15be3936c1a0497fd860f2fe69b5fa.tar
patches-1326166ebe15be3936c1a0497fd860f2fe69b5fa.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ebook.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 9db553620d..1d64e9b69f 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -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"))