From 24ab95bdb1a9e478088d6e7053abc102166d8ab7 Mon Sep 17 00:00:00 2001 From: Andrew Prokhorenkov Date: Tue, 17 Nov 2026 23:47:38 -0600 Subject: [PATCH] codex: 0.169.0 -> 0.170.0 --- pkgs/by-name/co/codex/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/co/codex/package.nix b/pkgs/by-name/co/codex/package.nix index 7213288ae6af..86a8ddf3ac0c 100644 --- a/pkgs/by-name/co/codex/package.nix +++ b/pkgs/by-name/co/codex/package.nix @@ -72,21 +72,21 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "codex"; - version = "0.169.0"; + version = "0.170.0"; src = fetchFromGitHub { owner = "openai"; repo = "codex"; rev = finalAttrs.buildCommit; - hash = "sha256-p8Vw0Vu8ufPY35k/RkcKE6HOTMJta2J9W33ei/7in+A="; + hash = "sha256-iJkH0tknBE/+bAWWKDiG9rLfuj0KDcSHDa91Offd7R8="; }; # Matching client/helper stamps; build_id() requires a full commit SHA. - buildCommit = "d32063f96c2dff1dc96af839b3952abb6acfeda4"; + buildCommit = "29eb79e9866b3262a777fdf8195c1b9e63684c91"; sourceRoot = "${finalAttrs.src.name}/codex-rs"; - cargoHash = "sha256-+YSkZwmAP88AOFmNWav4ye4ObbDYAIo0mzeQEzTqDm8="; + cargoHash = "sha256-dovquz74E13RYwAGuXRcyhvVAeSDXiqserw9inujf+c="; # Disable bundled Opus so OPUS_LIB_DIR selects nixpkgs' libopus. cargoDeps = (rustPlatform.fetchCargoVendor { @@ -157,8 +157,6 @@ rustPlatform.buildRustPackage (finalAttrs: { substituteInPlace Cargo.toml \ --replace-fail 'lto = "thin"' "" \ --replace-fail 'codegen-units = 4' "" - - sed -i '1i#![recursion_limit = "256"]' chatgpt/src/lib.rs ''; nativeBuildInputs = [