mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
zathuraPkgs: move default plugins into wrapper
This commit is contained in:
parent
a0f64a2e5f
commit
3dc8993b21
@ -10,7 +10,9 @@ lib.makeScope pkgs.newScope (
|
||||
let
|
||||
callPackage = self.callPackage;
|
||||
in
|
||||
rec {
|
||||
{
|
||||
inherit useMupdf;
|
||||
|
||||
gtk = pkgs.gtk3;
|
||||
|
||||
zathura_core = callPackage ./core { };
|
||||
@ -25,13 +27,6 @@ lib.makeScope pkgs.newScope (
|
||||
|
||||
zathura_cb = callPackage ./cb { };
|
||||
|
||||
zathuraWrapper = callPackage ./wrapper.nix {
|
||||
plugins = [
|
||||
zathura_djvu
|
||||
zathura_ps
|
||||
zathura_cb
|
||||
(if useMupdf then zathura_pdf_mupdf else zathura_pdf_poppler)
|
||||
];
|
||||
};
|
||||
zathuraWrapper = callPackage ./wrapper.nix { };
|
||||
}
|
||||
)
|
||||
|
@ -3,8 +3,19 @@
|
||||
lib,
|
||||
makeWrapper,
|
||||
zathura_core,
|
||||
zathura_djvu,
|
||||
zathura_ps,
|
||||
zathura_cb,
|
||||
zathura_pdf_mupdf,
|
||||
zathura_pdf_poppler,
|
||||
file,
|
||||
plugins ? [ ],
|
||||
useMupdf,
|
||||
plugins ? [
|
||||
zathura_djvu
|
||||
zathura_ps
|
||||
zathura_cb
|
||||
(if useMupdf then zathura_pdf_mupdf else zathura_pdf_poppler)
|
||||
],
|
||||
}:
|
||||
symlinkJoin {
|
||||
name = "zathura-with-plugins-${zathura_core.version}";
|
||||
|
Loading…
Reference in New Issue
Block a user