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