mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
chore(nix): update dependencies (#1456)
This commit is contained in:
parent
4150f4014c
commit
17c7003426
1 changed files with 18 additions and 14 deletions
32
nix/yazi.nix
32
nix/yazi.nix
|
|
@ -4,31 +4,23 @@
|
||||||
runCommand,
|
runCommand,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
|
|
||||||
extraPackages ? [ ],
|
runtimeDeps ? (ps: ps),
|
||||||
optionalDeps ? [
|
|
||||||
jq
|
|
||||||
poppler_utils
|
|
||||||
unar
|
|
||||||
ffmpegthumbnailer
|
|
||||||
fd
|
|
||||||
ripgrep
|
|
||||||
fzf
|
|
||||||
zoxide
|
|
||||||
],
|
|
||||||
|
|
||||||
# deps
|
# deps
|
||||||
file,
|
file,
|
||||||
yazi-unwrapped,
|
yazi-unwrapped,
|
||||||
|
|
||||||
# optional deps
|
# default optional deps
|
||||||
jq,
|
jq,
|
||||||
poppler_utils,
|
poppler_utils,
|
||||||
unar,
|
_7zz,
|
||||||
ffmpegthumbnailer,
|
ffmpegthumbnailer,
|
||||||
fd,
|
fd,
|
||||||
ripgrep,
|
ripgrep,
|
||||||
fzf,
|
fzf,
|
||||||
zoxide,
|
zoxide,
|
||||||
|
imagemagick,
|
||||||
|
chafa,
|
||||||
|
|
||||||
settings ? { },
|
settings ? { },
|
||||||
plugins ? { },
|
plugins ? { },
|
||||||
|
|
@ -44,7 +36,19 @@ let
|
||||||
mapAttrsToList
|
mapAttrsToList
|
||||||
;
|
;
|
||||||
|
|
||||||
runtimePaths = [ file ] ++ optionalDeps ++ extraPackages;
|
defaultDeps = [
|
||||||
|
jq
|
||||||
|
poppler_utils
|
||||||
|
_7zz
|
||||||
|
ffmpegthumbnailer
|
||||||
|
fd
|
||||||
|
ripgrep
|
||||||
|
fzf
|
||||||
|
zoxide
|
||||||
|
imagemagick
|
||||||
|
chafa
|
||||||
|
];
|
||||||
|
runtimePaths = [ file ] ++ (runtimeDeps defaultDeps);
|
||||||
|
|
||||||
settingsFormat = formats.toml { };
|
settingsFormat = formats.toml { };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue