mirror of
https://github.com/sxyazi/yazi.git
synced 2024-11-24 01:48:00 +03:00
chore(nix): update dependencies (#1456)
This commit is contained in:
parent
4150f4014c
commit
17c7003426
32
nix/yazi.nix
32
nix/yazi.nix
@ -4,31 +4,23 @@
|
||||
runCommand,
|
||||
makeWrapper,
|
||||
|
||||
extraPackages ? [ ],
|
||||
optionalDeps ? [
|
||||
jq
|
||||
poppler_utils
|
||||
unar
|
||||
ffmpegthumbnailer
|
||||
fd
|
||||
ripgrep
|
||||
fzf
|
||||
zoxide
|
||||
],
|
||||
runtimeDeps ? (ps: ps),
|
||||
|
||||
# deps
|
||||
file,
|
||||
yazi-unwrapped,
|
||||
|
||||
# optional deps
|
||||
# default optional deps
|
||||
jq,
|
||||
poppler_utils,
|
||||
unar,
|
||||
_7zz,
|
||||
ffmpegthumbnailer,
|
||||
fd,
|
||||
ripgrep,
|
||||
fzf,
|
||||
zoxide,
|
||||
imagemagick,
|
||||
chafa,
|
||||
|
||||
settings ? { },
|
||||
plugins ? { },
|
||||
@ -44,7 +36,19 @@ let
|
||||
mapAttrsToList
|
||||
;
|
||||
|
||||
runtimePaths = [ file ] ++ optionalDeps ++ extraPackages;
|
||||
defaultDeps = [
|
||||
jq
|
||||
poppler_utils
|
||||
_7zz
|
||||
ffmpegthumbnailer
|
||||
fd
|
||||
ripgrep
|
||||
fzf
|
||||
zoxide
|
||||
imagemagick
|
||||
chafa
|
||||
];
|
||||
runtimePaths = [ file ] ++ (runtimeDeps defaultDeps);
|
||||
|
||||
settingsFormat = formats.toml { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user