chore(nix): update dependencies (#1456)

This commit is contained in:
XYenon 2024-08-10 12:29:58 +08:00 committed by GitHub
parent 4150f4014c
commit 17c7003426
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 { };