mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
Merge pull request #290220 from adamjedrzejewski/ripgrep-fzf-fix
ripgrep-all: add missing dependency - fzf
This commit is contained in:
commit
3216101bdb
@ -9,6 +9,7 @@
|
||||
, ripgrep
|
||||
, Security
|
||||
, zip
|
||||
, fzf
|
||||
}:
|
||||
|
||||
let
|
||||
@ -18,6 +19,7 @@ let
|
||||
poppler_utils
|
||||
ripgrep
|
||||
zip
|
||||
fzf
|
||||
];
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
pname = "ripgrep-all";
|
||||
@ -43,8 +45,10 @@ in rustPlatform.buildRustPackage rec {
|
||||
nativeCheckInputs = path;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/rga \
|
||||
--prefix PATH ":" "${lib.makeBinPath path}"
|
||||
for bin in $out/bin/*; do
|
||||
wrapProgram $bin \
|
||||
--prefix PATH ":" "${lib.makeBinPath path}"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user