mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
codex: disable daemon_auto_start
This commit is contained in:
11
pkgs/by-name/co/codex/no-daemon_auto_start.patch
Normal file
11
pkgs/by-name/co/codex/no-daemon_auto_start.patch
Normal 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,
|
||||
@@ -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"' "" \
|
||||
|
||||
Reference in New Issue
Block a user