Merge pull request #195460 from LibreCybernetics/calibre-fix

calibre: fix epub-viewer
This commit is contained in:
Anderson Torres 2022-10-12 15:57:38 -03:00 committed by GitHub
commit 146d1265f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,11 +124,11 @@ stdenv.mkDerivation rec {
pycryptodome
# the following are distributed with calibre, but we use upstream instead
odfpy
] ++ lib.optionals (lib.lists.any (p: p == stdenv.hostPlatform.system) pyqtwebengine.meta.platforms) [
] ++ lib.optionals (lib.lists.any (p: p == stdenv.hostPlatform.system) pyqt6-webengine.meta.platforms) [
# much of calibre's functionality is usable without a web
# browser, so we enable building on platforms which qtwebengine
# does not support by simply omitting qtwebengine.
pyqtwebengine
pyqt6-webengine
] ++ lib.optional (unrarSupport) unrardll
);