fix(restic): switch to fd to include empty paths
This commit is contained in:
parent
d979a126ab
commit
de264cde5a
3 changed files with 4 additions and 2 deletions
|
@ -32,10 +32,10 @@ in {
|
|||
ignoreFile = builtins.toFile "ignore"
|
||||
(foldl (a: b: a + "\n" + b) "" ignorePatterns);
|
||||
in ''
|
||||
${pkgs.ripgrep}/bin/rg \
|
||||
${pkgs.fd}/bin/fd \
|
||||
--hidden \
|
||||
--files ${files} \
|
||||
--ignore-file ${ignoreFile} \
|
||||
. ${files} \
|
||||
| sed "s/\[/\\\[/" | sed "s/\]/\\\]/"
|
||||
''
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue