enable web search in opencode

This commit is contained in:
2026-04-03 22:56:58 +02:00
parent 6a0b544bad
commit 1bb357b3c8

View File

@@ -43,7 +43,16 @@ in
openbao
pv-migrate
mermaid-cli
opencode
(
# Wrapping opencode to set the OPENCODE_ENABLE_EXA environment variable
runCommand "opencode" {
buildInputs = [ makeWrapper ];
} ''
mkdir -p $out/bin
makeWrapper ${pkgs.opencode}/bin/opencode $out/bin/opencode \
--set OPENCODE_ENABLE_EXA "1"
''
)
garm-cli
tea
];