chore(codex): bump the override to 0.156.1

0.156.1 still lacks the codex-chatgpt recursion_limit attribute, so keep the postPatch that adds it. The vendored Cargo.lock is unchanged, so the cargoHash stays the same.
This commit is contained in:
Ryan Yin committed 2026-09-23 12:07:28 +08:00
1 parent 55aa4e3e10
commit d1dd35bd7c
1 file changed
+15 -7
+15 -7
View File
@@ -29,13 +29,21 @@ let
_system: packages:
packages
// {
codex = packages.codex.override {
version = "0.156.0";
hash = "sha256-KGhOvpHi+Z2TemgrBTkWWY6Y3DdL0b2Fhmv2HcUjXhg=";
cargoVendor = {
cargoHash = "sha256-W87rX/W2J1pwqNrihX+Rj6DfagoZYuB6C+l/S4BhyJM=";
};
};
codex =
(packages.codex.override {
version = "0.156.1";
hash = "sha256-H53f57hmnyCtn5yPxtBe/A92qyQyzQBeU/vK2qSBrvI=";
cargoVendor = {
cargoHash = "sha256-W87rX/W2J1pwqNrihX+Rj6DfagoZYuB6C+l/S4BhyJM=";
};
}).overrideAttrs
(old: {
# codex's codex-chatgpt crate exceeds rustc's default recursion
# limit; the other crates already set this attribute.
postPatch = (old.postPatch or "") + ''
sed -i '1i #![recursion_limit = "256"]' chatgpt/src/lib.rs
'';
});
}
) inputs.llm-agents.packages;
};