codex: disable daemon_auto_start

This commit is contained in:
Sizhe Zhao
2026-09-26 12:06:19 +08:00
parent d54020a6ac
commit dfd9ad2abf
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/features/src/lib.rs
+++ b/features/src/lib.rs
@@ -941,7 +941,7 @@
id: Feature::DaemonAutoStart,
key: "daemon_auto_start",
stage: Stage::Stable,
- default_enabled: true,
+ default_enabled: false,
},
FeatureSpec {
id: Feature::TranscriptV2,

View File

@@ -59,6 +59,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
"codex-code-mode-host"
];
patches = [
# https://github.com/openai/codex/issues/48195
./no-daemon_auto_start.patch
];
postPatch = ''
substituteInPlace Cargo.toml \
--replace-fail 'lto = "thin"' "" \