enable web search and claude auth in opencode

This commit is contained in:
2026-04-19 03:15:41 +02:00
parent 1480bd94df
commit d860acb5d1
3 changed files with 42 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "opencode-claude-auth";
version = "1.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/opencode-claude-auth/-/opencode-claude-auth-1.5.0.tgz";
hash = "sha512-5NSL+x++VTe2ZrFSznXKv7imiKObIBz0QXPuL+g1NAXAcdTGcbEbQBvvHZeIaSBNjmwpY2MR67Yez1f3LlPl7w==";
};
dontBuild = true;
installPhase = ''
mkdir -p $out
cp -r ./ $out/
'';
}