codex: 0.21.0 -> 0.22.0

This commit is contained in:
Thierry Delafontaine 2025-08-16 12:59:56 +02:00
parent cedc4cc963
commit 9ce462f937
No known key found for this signature in database
GPG Key ID: 00926686981863CB

View File

@ -14,18 +14,18 @@
}: }:
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "codex"; pname = "codex";
version = "0.21.0"; version = "0.22.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-9hwDAkrMW0llcYJdkrUCSdh3guRcUCmx8MDkHLyY6v0="; hash = "sha256-JTwtydW8LLBH/55+8a/BbqlZtkXsFKbT8dGoDEAjk1c=";
}; };
sourceRoot = "${finalAttrs.src.name}/codex-rs"; sourceRoot = "${finalAttrs.src.name}/codex-rs";
cargoHash = "sha256-ykG3howLyA4kA7cjP8Gx+usRcgQoVHW0ECQzTUigG8A="; cargoHash = "sha256-3PljlyPfDsnjGmR/0iM7Fu1TnyDj31pKVcOU/izsL30=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -50,27 +50,27 @@ rustPlatform.buildRustPackage (finalAttrs: {
checkFlags = [ checkFlags = [
# Wants to access /bin/zsh # Wants to access /bin/zsh
"--skip=shell::tests::test_run_with_profile_escaping_and_execution" "--skip=shell::tests::test_run_with_profile_escaping_and_execution"
# Wants to access unix sockets
"--skip=allow_unix_socketpair_recvfrom"
# Fails with 'stream ended unexpectedly: InternalAgentDied' # Fails with 'stream ended unexpectedly: InternalAgentDied'
"--skip=includes_base_instructions_override_in_request" "--skip=includes_base_instructions_override_in_request"
# Fails with 'stream ended unexpectedly: InternalAgentDied'
"--skip=includes_user_instructions_message_in_request" "--skip=includes_user_instructions_message_in_request"
# Fails with 'stream ended unexpectedly: InternalAgentDied'
"--skip=originator_config_override_is_used" "--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" "--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=azure_overrides_assign_properties_used_for_responses_url"
"--skip=env_var_overrides_loaded_auth" "--skip=env_var_overrides_loaded_auth"
# Version 0.0.0 hardcoded # Version 0.0.0 hardcoded
"--skip=test_conversation_create_and_send_message_ok" "--skip=test_conversation_create_and_send_message_ok"
# Version 0.0.0 hardcoded
"--skip=test_send_message_session_not_found" "--skip=test_send_message_session_not_found"
# Version 0.0.0 hardcoded
"--skip=test_send_message_success" "--skip=test_send_message_success"
# Assertion fails # Assertion fails
"--skip=diff_render::tests::ui_snapshot_add_details" "--skip=diff_render::tests::ui_snapshot_add_details"
"--skip=diff_render::tests::ui_snapshot_update_details_with_rename" "--skip=diff_render::tests::ui_snapshot_update_details_with_rename"
# Attempted to creat a NULL object
"--skip=test_apply_patch_tool"
# Needs access to python3. However, adding python3 to nativeCHeckInputs doesn't resolve the issue
"--skip=python_multiprocessing_lock_works_under_sandbox"
]; ];
postInstall = lib.optionalString installShellCompletions '' postInstall = lib.optionalString installShellCompletions ''