diff --git a/pkgs/by-name/co/codex/package.nix b/pkgs/by-name/co/codex/package.nix index bb15ec6f77af..6fa2aff8ea20 100644 --- a/pkgs/by-name/co/codex/package.nix +++ b/pkgs/by-name/co/codex/package.nix @@ -26,29 +26,34 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "codex"; - version = "0.142.5"; + version = "0.144.1"; src = fetchFromGitHub { owner = "openai"; repo = "codex"; tag = "rust-v${finalAttrs.version}"; - hash = "sha256-Ua1UVArTvjHcg3bPK1FYyShYiIUH3AOxtoUTvA4UZwU="; + hash = "sha256-KHgrqIZyAmLhTZSRYbb7huBO8neOib/B1Vx/oPW2nEU="; }; sourceRoot = "${finalAttrs.src.name}/codex-rs"; - cargoHash = "sha256-1gDiCB3Nf/0aIm+EoL3g9C0xbCi3cv6TfH5VytjJpOY="; + cargoHash = "sha256-S4dsZXfmKvJItL2XYKyxfhqdCMATEG6oPjrtVRwkuYc="; __structuredAttrs = true; - # Match upstream's release build for the codex binary only. + # Match upstream's release build for the codex binary, plus its + # codex-code-mode-host runtime companion for out-of-process V8 execution. cargoBuildFlags = [ "--package" "codex-cli" + "--package" + "codex-code-mode-host" ]; cargoCheckFlags = [ "--package" "codex-cli" + "--package" + "codex-code-mode-host" ]; postPatch = ''