Commit aa1b22fa authored by figsoda's avatar figsoda
Browse files

fzf-make: add preview dependencies

parent cdba0c3c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
, rustPlatform
, fetchFromGitHub
, makeBinaryWrapper
, runtimeShell
, bat
, gnugrep
, gnumake
}:

@@ -24,7 +27,8 @@ rustPlatform.buildRustPackage rec {

  postInstall = ''
    wrapProgram $out/bin/fzf-make \
      --suffix PATH : ${lib.makeBinPath [ gnumake ]}
      --set SHELL ${runtimeShell} \
      --suffix PATH : ${lib.makeBinPath [ bat gnugrep gnumake ]}
  '';

  meta = with lib; {