Merge pull request #158246 from Ma27/zathura-overrides

zathura: improve overridability; set plugin dir through the environment
This commit is contained in:
Ben Siraphob 2022-02-06 20:30:54 +00:00 committed by GitHub
commit b0e98a180f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -30,4 +30,4 @@ let
};
};
in self.zathuraWrapper
in self

View File

@ -11,7 +11,7 @@ symlinkJoin {
in ''
makeWrapper ${zathura_core.bin}/bin/zathura $out/bin/zathura \
--prefix PATH ":" "${lib.makeBinPath [ file ]}" \
--add-flags --plugins-dir="$out/lib/zathura"
--prefix ZATHURA_PLUGINS_PATH : "$out/lib/zathura"
# zathura fish completion references the zathura_core derivation to
# check for supported plugins which live in the wrapper derivation,

View File

@ -30270,7 +30270,8 @@ with pkgs;
zanshin = libsForQt5.callPackage ../applications/office/zanshin { };
zathura = callPackage ../applications/misc/zathura { };
zathuraPkgs = callPackage ../applications/misc/zathura { };
zathura = zathuraPkgs.zathuraWrapper;
zdns = callPackage ../tools/security/zdns { };