diff options
| author | Aiden Cline <[email protected]> | 2025-12-09 00:36:33 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-09 00:36:33 -0600 |
| commit | 654a2cd6a4f7c08bd72d8fd9bb3c3576b76405a1 (patch) | |
| tree | 6c17e2e0086edec8bdceaa4e7390d4cea5d134be /nix/opencode.nix | |
| parent | 2252b5ca1b71029e0651c04df7da0d9990c5b8eb (diff) | |
| download | opencode-654a2cd6a4f7c08bd72d8fd9bb3c3576b76405a1.tar.gz opencode-654a2cd6a4f7c08bd72d8fd9bb3c3576b76405a1.zip | |
core: remove unused fzf dependency to address CVE
- Eliminates fzf binary dependency that was no longer used after file search overhaul
- Removes fzf from Nix package configuration and Arch Linux PKGBUILD dependencies
Diffstat (limited to 'nix/opencode.nix')
| -rw-r--r-- | nix/opencode.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/opencode.nix b/nix/opencode.nix index 8c4e9fb57..87b3f17ba 100644 --- a/nix/opencode.nix +++ b/nix/opencode.nix @@ -1,4 +1,4 @@ -{ lib, stdenvNoCC, bun, fzf, ripgrep, makeBinaryWrapper }: +{ lib, stdenvNoCC, bun, ripgrep, makeBinaryWrapper }: args: let scripts = args.scripts; @@ -97,7 +97,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { makeWrapper ${bun}/bin/bun $out/bin/opencode \ --add-flags "run" \ --add-flags "$out/lib/opencode/dist/src/index.js" \ - --prefix PATH : ${lib.makeBinPath [ fzf ripgrep ]} \ + --prefix PATH : ${lib.makeBinPath [ ripgrep ]} \ --argv0 opencode runHook postInstall |
