diff options
| author | Aiden Cline <[email protected]> | 2026-01-06 20:59:50 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2026-01-06 21:01:03 -0600 |
| commit | a2f80f7c0db5dda58222b35859c1620841d406c6 (patch) | |
| tree | 988da560f08c614a1aa25b96750b75bac0232685 /nix/scripts | |
| parent | dee022674190c172b82825879d52e8ad359802b7 (diff) | |
| download | opencode-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.ts | 7 |
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: {}, }, }) |
