Loading pkgs/applications/misc/calibre/default.nix +16 −11 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ , wrapQtAppsHook , xdg-utils , wrapGAppsHook3 , popplerSupport ? true , speechSupport ? true , unrarSupport ? false }: Loading Loading @@ -117,7 +119,6 @@ stdenv.mkDerivation (finalAttrs: { regex sip setuptools speechd zeroconf jeepney pycryptodome Loading @@ -130,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: { # does not support by simply omitting qtwebengine. pyqt6-webengine ] ++ lib.optional (unrarSupport) unrardll ); ) ++ lib.optional (speechSupport) speechd; installPhase = '' runHook preInstall Loading Loading @@ -171,13 +172,17 @@ stdenv.mkDerivation (finalAttrs: { dontWrapQtApps = true; dontWrapGApps = true; preFixup = '' preFixup = let popplerArgs = "--prefix PATH : ${poppler_utils.out}/bin"; in '' for program in $out/bin/*; do wrapProgram $program \ ''${qtWrapperArgs[@]} \ ''${gappsWrapperArgs[@]} \ --prefix PYTHONPATH : $PYTHONPATH \ --prefix PATH : ${poppler_utils.out}/bin ${if popplerSupport then popplerArgs else ""} done ''; Loading Loading
pkgs/applications/misc/calibre/default.nix +16 −11 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ , wrapQtAppsHook , xdg-utils , wrapGAppsHook3 , popplerSupport ? true , speechSupport ? true , unrarSupport ? false }: Loading Loading @@ -117,7 +119,6 @@ stdenv.mkDerivation (finalAttrs: { regex sip setuptools speechd zeroconf jeepney pycryptodome Loading @@ -130,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: { # does not support by simply omitting qtwebengine. pyqt6-webengine ] ++ lib.optional (unrarSupport) unrardll ); ) ++ lib.optional (speechSupport) speechd; installPhase = '' runHook preInstall Loading Loading @@ -171,13 +172,17 @@ stdenv.mkDerivation (finalAttrs: { dontWrapQtApps = true; dontWrapGApps = true; preFixup = '' preFixup = let popplerArgs = "--prefix PATH : ${poppler_utils.out}/bin"; in '' for program in $out/bin/*; do wrapProgram $program \ ''${qtWrapperArgs[@]} \ ''${gappsWrapperArgs[@]} \ --prefix PYTHONPATH : $PYTHONPATH \ --prefix PATH : ${poppler_utils.out}/bin ${if popplerSupport then popplerArgs else ""} done ''; Loading