File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 go-jwlm = pkgs . callPackage ./go-jwlm { } ;
77 iamlive = pkgs . callPackage ./iamlive { } ;
88 kiro-cli = pkgs . callPackage ./kiro-cli { } ;
9+ opencode = pkgs . callPackage ./opencode { } ;
910 swamp = pkgs . callPackage ./swamp { } ;
1011}
Original file line number Diff line number Diff line change 1+ # ABOUTME: OpenCode - AI coding agent for the terminal
2+ # ABOUTME: Wraps bunx invocation to avoid glibc 2.42 segfault with bun --compile binaries
3+ {
4+ lib ,
5+ stdenv ,
6+ writeShellApplication ,
7+ bun ,
8+ ...
9+ } :
10+ writeShellApplication {
11+ name = "opencode" ;
12+ runtimeInputs = [ bun ] ;
13+ text = ''
14+ exec bunx opencode-ai "$@"
15+ '' ;
16+
17+ meta = with lib ; {
18+ description = "AI coding agent built for the terminal" ;
19+ homepage = "https://opencode.ai" ;
20+ license = licenses . mit ;
21+ platforms = platforms . unix ;
22+ mainProgram = "opencode" ;
23+ } ;
24+ }
You can’t perform that action at this time.
0 commit comments