diff --git a/pkgs/by-name/co/codex/package.nix b/pkgs/by-name/co/codex/package.nix index c69c970f678b..0cc4d7059169 100644 --- a/pkgs/by-name/co/codex/package.nix +++ b/pkgs/by-name/co/codex/package.nix @@ -14,18 +14,18 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "codex"; - version = "0.20.0"; + version = "0.21.0"; src = fetchFromGitHub { owner = "openai"; repo = "codex"; tag = "rust-v${finalAttrs.version}"; - hash = "sha256-v5PEj3T/eirAMpHHMR6LE9X8qDNhvCJP40Nleal3oOw="; + hash = "sha256-9hwDAkrMW0llcYJdkrUCSdh3guRcUCmx8MDkHLyY6v0="; }; sourceRoot = "${finalAttrs.src.name}/codex-rs"; - cargoHash = "sha256-zgmiWyWB08v1WQVFzxpC/LGwF+XXbs8iW1d7i9Iw0Q4="; + cargoHash = "sha256-ykG3howLyA4kA7cjP8Gx+usRcgQoVHW0ECQzTUigG8A="; nativeBuildInputs = [ installShellFiles @@ -58,6 +58,8 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=originator_config_override_is_used" # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent' "--skip=azure_overrides_assign_properties_used_for_responses_url" + # Fails with 'stream ended unexpectedly: InternalAgentDied' + "--skip=prefixes_context_and_instructions_once_and_consistently_across_requests" # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent' "--skip=env_var_overrides_loaded_auth" # Version 0.0.0 hardcoded @@ -66,6 +68,9 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=test_send_message_session_not_found" # Version 0.0.0 hardcoded "--skip=test_send_message_success" + # Assertion fails + "--skip=diff_render::tests::ui_snapshot_add_details" + "--skip=diff_render::tests::ui_snapshot_update_details_with_rename" ]; postInstall = lib.optionalString installShellCompletions ''