mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-05 04:10:19 +00:00
codex: 0.169.0 -> 0.170.0 (#589763)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user