This commit is contained in:
TheK0tYaRa 2026-03-09 01:23:50 +02:00
parent d9be681415
commit dd1c091312
3 changed files with 11 additions and 9 deletions

View file

@ -55,12 +55,13 @@ final: prev: {
codex = prev.codex.overrideAttrs ( codex = prev.codex.overrideAttrs (
old: old:
let let
version = "0.111.0"; version = "0.112.0";
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {
owner = "openai"; owner = "openai";
repo = "codex"; repo = "codex";
tag = "rust-v${version}"; tag = "rust-v${version}";
hash = "sha256-hdR70BhiMg9G/ibLCeHnRSY3PcGZDv0vnqBCbzSRD6I="; hash = "sha256-tOrqGXh4k5GzcPhCUaiYoUVt4liYfgRd2ejkrdQpqWs=";
# hash = "";
}; };
in in
{ {
@ -70,7 +71,8 @@ final: prev: {
cargoDeps = prev.rustPlatform.fetchCargoVendor { cargoDeps = prev.rustPlatform.fetchCargoVendor {
inherit src; inherit src;
sourceRoot = "${src.name}/codex-rs"; sourceRoot = "${src.name}/codex-rs";
hash = "sha256-h+TIwNz+A6aYcMACWl//LiavABITZxwYa4CvawR/0RQ="; hash = "sha256-2+9cIslfR8BD3oN6Icfpmzz9vDMGr1NcIwiHK3qoukE=";
# hash = prev.lib.fakeHash;
}; };
buildInputs = (old.buildInputs or [ ]) ++ [ prev.libcap ]; buildInputs = (old.buildInputs or [ ]) ++ [ prev.libcap ];

10
flake.lock generated
View file

@ -502,16 +502,16 @@
"kernel-src": { "kernel-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1772925668, "lastModified": 1770032463,
"narHash": "sha256-P+xf11gGIe+VnHVS/vx13ejgevEsTjZ14I6AdMgMzio=", "narHash": "sha256-dNxD+k9uxBQdTEnAHN8oZXS4Wl3RhlxG71R5rxxwQAo=",
"ref": "drm-tip", "ref": "refs/tags/drm-intel-next-fixes-2026-02-05",
"rev": "f705e865254996e9a099a22a9320e523e6debdcf", "rev": "3e28a67a85f9b569066f6dfcddadb39294c0c9d4",
"shallow": true, "shallow": true,
"type": "git", "type": "git",
"url": "https://gitlab.freedesktop.org/drm/tip.git" "url": "https://gitlab.freedesktop.org/drm/tip.git"
}, },
"original": { "original": {
"ref": "drm-tip", "ref": "refs/tags/drm-intel-next-fixes-2026-02-05",
"shallow": true, "shallow": true,
"type": "git", "type": "git",
"url": "https://gitlab.freedesktop.org/drm/tip.git" "url": "https://gitlab.freedesktop.org/drm/tip.git"

View file

@ -23,7 +23,7 @@
nix-flatpak.url = "github:gmodena/nix-flatpak/latest"; nix-flatpak.url = "github:gmodena/nix-flatpak/latest";
kernel-src = { kernel-src = {
# url = "git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git?ref=master"; # url = "git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git?ref=master";
url = "git+https://gitlab.freedesktop.org/drm/tip.git?shallow=1&ref=drm-tip"; url = "git+https://gitlab.freedesktop.org/drm/tip.git?ref=refs/tags/drm-intel-next-fixes-2026-02-05&shallow=1";
flake = false; flake = false;
}; };
sccache = { sccache = {