ripgrep-all: add missing dependency
This commit is contained in:
parent
a17e3c8b0c
commit
21e27095c8
1 changed files with 6 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
||||||
, ripgrep
|
, ripgrep
|
||||||
, Security
|
, Security
|
||||||
, zip
|
, zip
|
||||||
|
, fzf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -18,6 +19,7 @@ let
|
||||||
poppler_utils
|
poppler_utils
|
||||||
ripgrep
|
ripgrep
|
||||||
zip
|
zip
|
||||||
|
fzf
|
||||||
];
|
];
|
||||||
in rustPlatform.buildRustPackage rec {
|
in rustPlatform.buildRustPackage rec {
|
||||||
pname = "ripgrep-all";
|
pname = "ripgrep-all";
|
||||||
|
@ -43,8 +45,10 @@ in rustPlatform.buildRustPackage rec {
|
||||||
nativeCheckInputs = path;
|
nativeCheckInputs = path;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/rga \
|
for bin in $out/bin/*; do
|
||||||
--prefix PATH ":" "${lib.makeBinPath path}"
|
wrapProgram $bin \
|
||||||
|
--prefix PATH ":" "${lib.makeBinPath path}"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue