I would like to override the zathura package so that only the pdf plugin is installed.
I can remove all plugins like this nixpkgs.overlays = [ (final: prev: { zathura = prev.zathura.override { plugins = [ ]; }; }) ];
but then i can’t open pdfs.
I don’t know how to install only the pdf plugin though as this (final: prev: { zathura = prev.zathura.override { plugins = [ pkgs.zathura_pdf_mupdf ]; }; })
results in error: attribute 'zathura_pdf_mupdf' missing
.
This also happens when i add zathura_pdf_mupdf
at the beginning of the file like
{
lib,
pkgs,
zathura_pdf_mupdf,
...
}:
...