mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
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
This commit is contained in:
parent
2252b5ca1b
commit
654a2cd6a4
3 changed files with 4 additions and 128 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue