diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-12-08 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-12-08 04:20:00 +0000 |
commit | 42fb1714d703a01666e24ae8c69285c927256671 (patch) | |
tree | a3e687cc72789a07d90cc58c6fd0837f6f83b489 /pkgs/applications/misc/navi | |
parent | 8f7f6fbf91da5a7ba9fa527896c1a12a0f09a768 (diff) |
navi: make fzf optional
Navi also allows to configure Skim as finder
Diffstat (limited to 'pkgs/applications/misc/navi')
-rw-r--r-- | pkgs/applications/misc/navi/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/navi/default.nix b/pkgs/applications/misc/navi/default.nix index 2075f96285b3d..840db0400f540 100644 --- a/pkgs/applications/misc/navi/default.nix +++ b/pkgs/applications/misc/navi/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget, libiconv }: +{ stdenv, fetchFromGitHub, lib, makeWrapper, rustPlatform, wget, libiconv, withFzf ? true, fzf }: rustPlatform.buildRustPackage rec { pname = "navi"; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { postInstall = '' wrapProgram $out/bin/navi \ --prefix PATH : "$out/bin" \ - --prefix PATH : ${lib.makeBinPath [ fzf wget ]} + --prefix PATH : ${lib.makeBinPath([ wget ] ++ lib.optionals withFzf [ fzf ])} ''; checkFlags = [ |