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>
This commit is contained in:
parent
affaf98f77
commit
1326166ebe
|
@ -142,6 +142,12 @@
|
||||||
#:use-setuptools? #f
|
#:use-setuptools? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'build 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((podofo (assoc-ref inputs "podofo"))
|
(let ((podofo (assoc-ref inputs "podofo"))
|
||||||
|
|
Loading…
Reference in New Issue