calibre: fix epub-viewer

This commit is contained in:
Fabián Heredia Montiel 2022-10-11 00:40:48 -05:00
parent 475292875e
commit 88364f38c4

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
);