mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
chore(codex): use upstream 0.157.1 and drop the temporary patch (#327)
This commit is contained in:
1 parent
695d58de8b
commit
c1b590b31b
2 files changed
+6
-31
No files matched your search
Generated
+6
-6
@@ -451,11 +451,11 @@
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1790122280,
|
||||
"narHash": "sha256-uWgg4A+hrlViz1L0y9D8zMkIjQU8UzJqoyxaZ3xY24Q=",
|
||||
"lastModified": 1790416022,
|
||||
"narHash": "sha256-DjGLaiqnHlHQ9d8EfKhklMlCRoEC97FkI9XRgznopL8=",
|
||||
"owner": "numtide",
|
||||
"repo": "llm-agents.nix",
|
||||
"rev": "fcf80443a6e5363f30dc9b191bcb65cfcd788df2",
|
||||
"rev": "03aa73a454d7468e0a3d44faee511fa6ae7c7ded",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -607,11 +607,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1790055231,
|
||||
"narHash": "sha256-QpXotokGh5eeMG1Njiuh27oP0rK6t5+cMp7ymXSs7mc=",
|
||||
"lastModified": 1790390834,
|
||||
"narHash": "sha256-StRyS/lFHtIw/UgJk+xo+HA66mtoWeDUbkJdvf2Byn4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b6c98e9e6633ee64753b594ff4a5febf0367fc00",
|
||||
"rev": "d54020a6ac3211e9f4201631bdf67678818c0cdf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -23,31 +23,6 @@ let
|
||||
// {
|
||||
inherit mylib myvars pkgs-stable;
|
||||
|
||||
# Temporary override until numtide/llm-agents.nix#9696 (codex 0.156.0) lands.
|
||||
llm-agents = inputs.llm-agents // {
|
||||
packages = lib.mapAttrs (
|
||||
_system: packages:
|
||||
packages
|
||||
// {
|
||||
codex =
|
||||
(packages.codex.override {
|
||||
version = "0.156.1";
|
||||
hash = "sha256-H53f57hmnyCtn5yPxtBe/A92qyQyzQBeU/vK2qSBrvI=";
|
||||
cargoVendor = {
|
||||
cargoHash = "sha256-W87rX/W2J1pwqNrihX+Rj6DfagoZYuB6C+l/S4BhyJM=";
|
||||
};
|
||||
}).overrideAttrs
|
||||
(old: {
|
||||
# codex's codex-chatgpt crate exceeds rustc's default recursion
|
||||
# limit; the other crates already set this attribute.
|
||||
postPatch = (old.postPatch or "") + ''
|
||||
sed -i '1i #![recursion_limit = "256"]' chatgpt/src/lib.rs
|
||||
'';
|
||||
});
|
||||
}
|
||||
) inputs.llm-agents.packages;
|
||||
};
|
||||
|
||||
# use unstable branch for some packages to get the latest updates
|
||||
# pkgs-unstable = import inputs.nixpkgs-unstable {
|
||||
# inherit system; # refer the `system` parameter form outer scope recursively
|
||||
|
||||
Reference in new issue
Block a user