summaryrefslogtreecommitdiffhomepage
path: root/nix/scripts
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-06 20:59:50 -0600
committerAiden Cline <[email protected]>2026-01-06 21:01:03 -0600
commita2f80f7c0db5dda58222b35859c1620841d406c6 (patch)
tree988da560f08c614a1aa25b96750b75bac0232685 /nix/scripts
parentdee022674190c172b82825879d52e8ad359802b7 (diff)
downloadopencode-a2f80f7c0db5dda58222b35859c1620841d406c6.tar.gz
opencode-a2f80f7c0db5dda58222b35859c1620841d406c6.zip
fix: add --use-system-ca flag in execArgv
Diffstat (limited to 'nix/scripts')
-rw-r--r--nix/scripts/bun-build.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/nix/scripts/bun-build.ts b/nix/scripts/bun-build.ts
index a22708163..e607676cb 100644
--- a/nix/scripts/bun-build.ts
+++ b/nix/scripts/bun-build.ts
@@ -60,7 +60,12 @@ const result = await Bun.build({
compile: {
target,
outfile: "opencode",
- execArgv: ["--user-agent=opencode/" + version, '--env-file=""', "--"],
+ autoloadBunfig: false,
+ autoloadDotenv: false,
+ //@ts-ignore (bun types aren't up to date)
+ autoloadTsconfig: true,
+ autoloadPackageJson: true,
+ execArgv: ["--user-agent=opencode/" + version, "--use-system-ca", "--"],
windows: {},
},
})