summaryrefslogtreecommitdiffhomepage
path: root/nix/scripts
diff options
context:
space:
mode:
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: {},
},
})