codex: 0.20.0 -> 0.21.0 (#433093)

This commit is contained in:
Pol Dellaiera 2025-08-12 19:34:22 +02:00 committed by GitHub
commit dc616a652f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,18 +14,18 @@
}: }:
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "codex"; pname = "codex";
version = "0.20.0"; version = "0.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openai"; owner = "openai";
repo = "codex"; repo = "codex";
tag = "rust-v${finalAttrs.version}"; tag = "rust-v${finalAttrs.version}";
hash = "sha256-v5PEj3T/eirAMpHHMR6LE9X8qDNhvCJP40Nleal3oOw="; hash = "sha256-9hwDAkrMW0llcYJdkrUCSdh3guRcUCmx8MDkHLyY6v0=";
}; };
sourceRoot = "${finalAttrs.src.name}/codex-rs"; sourceRoot = "${finalAttrs.src.name}/codex-rs";
cargoHash = "sha256-zgmiWyWB08v1WQVFzxpC/LGwF+XXbs8iW1d7i9Iw0Q4="; cargoHash = "sha256-ykG3howLyA4kA7cjP8Gx+usRcgQoVHW0ECQzTUigG8A=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -58,6 +58,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--skip=originator_config_override_is_used" "--skip=originator_config_override_is_used"
# Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent' # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent'
"--skip=azure_overrides_assign_properties_used_for_responses_url" "--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' # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent'
"--skip=env_var_overrides_loaded_auth" "--skip=env_var_overrides_loaded_auth"
# Version 0.0.0 hardcoded # Version 0.0.0 hardcoded
@ -66,6 +68,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--skip=test_send_message_session_not_found" "--skip=test_send_message_session_not_found"
# Version 0.0.0 hardcoded # Version 0.0.0 hardcoded
"--skip=test_send_message_success" "--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 '' postInstall = lib.optionalString installShellCompletions ''