codex bump, fixup

This commit is contained in:
TheK0tYaRa 2026-03-13 09:38:21 +02:00
parent 72739f110f
commit 7751c36e7c
4 changed files with 53 additions and 71 deletions

View file

@ -31,37 +31,17 @@ final: prev: {
# "$unitDir/xdg-desktop-portal-cosmic.service"
# '';
# });
# codex = prev.codex.overrideAttrs (
# old:
# let
# version = "0.111.0";
# src = prev.fetchFromGitHub {
# owner = "openai";
# repo = "codex";
# tag = "rust-v${version}";
# hash = "sha256-hdR70BhiMg9G/ibLCeHnRSY3PcGZDv0vnqBCbzSRD6I=";
# };
# in
# {
# cargoDeps = old.cargoDeps.overrideAttrs (_: {
# inherit src;
# name = "codex-${version}-vendor.tar.gz";
# sourceRoot = "${src.name}/codex-rs";
# outputHash = "sha256-FR0GQenZ6CFhHUdi3FnuwIsqo0argAJo5STBwlGCsdg=";
# outputHashMode = "recursive";
# });
# }
# );
codex = prev.codex.overrideAttrs (
old:
let
version = "0.112.0";
version = "0.114.0";
src = prev.fetchFromGitHub {
owner = "openai";
repo = "codex";
tag = "rust-v${version}";
hash = "sha256-tOrqGXh4k5GzcPhCUaiYoUVt4liYfgRd2ejkrdQpqWs=";
# hash = "";
hash = "sha256-7t+mVwP4+YrG1ciI+OLqsK7TUM9SrDbPsJNrt26iy9c=";
#hash = "";
};
in
{
@ -71,8 +51,8 @@ final: prev: {
cargoDeps = prev.rustPlatform.fetchCargoVendor {
inherit src;
sourceRoot = "${src.name}/codex-rs";
hash = "sha256-2+9cIslfR8BD3oN6Icfpmzz9vDMGr1NcIwiHK3qoukE=";
# hash = prev.lib.fakeHash;
hash = "sha256-XThIexu3V18JG4OtyvYmybaRMctYpDuBLLH+lUvrtt8=";
#hash = prev.lib.fakeHash;
};
buildInputs = (old.buildInputs or [ ]) ++ [ prev.libcap ];