summary refs log tree commit diff
path: root/gnu/packages/ebook.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2023-04-03 19:19:06 +0200
committerAndreas Enge <andreas@enge.fr>2023-04-03 19:19:06 +0200
commita1d4722b045827f8a18c11512b7c1c198a347913 (patch)
treef0c7d3bb28ed81ac5a50a7ea5828520c473872d3 /gnu/packages/ebook.scm
parentcebcf3533ab83233121434254a6ae7b8c35cfa1f (diff)
downloadguix-a1d4722b045827f8a18c11512b7c1c198a347913.tar.gz
gnu: calibre: Fix build.
* gnu/packages/ebook.scm (calibre): Change path to .sip include directory
for PyQt5.
Diffstat (limited to 'gnu/packages/ebook.scm')
-rw-r--r--gnu/packages/ebook.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 8e6f2bbc09..0ec7a1db91 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -245,9 +245,8 @@ tags = [\"WS_X11\"]")
                 (("\\[tool.sip.project\\]")
                  (string-append "[tool.sip.project]
 sip-include-dirs = [\""
-                                #$(this-package-input
-                                   "python-pyqt")
-                                "/share/sip\"]")))
+                   #$(this-package-input "python-pyqt")
+                   "/lib/python3.10/site-packages/PyQt5/bindings\"]")))
               (substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
                 (("PDFTOHTML = 'pdftohtml'")
                  (string-append "PDFTOHTML = \""