codex
nixpkgs master recipe for codex changed since the last snapshot.
Review the diff and port anything relevant into home-manager/pkgs/codex/package.nix.
--- home-manager/pkgs/codex/nixpkgs-upstream.nix 2026-07-26 21:09:38.189137013 +0000
+++ /tmp/upstream.nix 2026-07-26 21:09:38.408440677 +0000
@@ -14,7 +14,6 @@
librusty_v8 ? callPackage ./librusty_v8.nix {
inherit (callPackage ./fetchers.nix { }) fetchLibrustyV8;
},
- livekit-libwebrtc,
lld,
makeBinaryWrapper,
nix-update-script,
@@ -26,18 +25,18 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "codex";
- version = "0.144.4";
+ version = "0.145.0";
src = fetchFromGitHub {
owner = "openai";
repo = "codex";
tag = "rust-v${finalAttrs.version}";
- hash = "sha256-NmYZxjNFPkRWN4rw+eeka10pJt6/oU3ZoLXBxj3dPRU=";
+ hash = "sha256-/r4mBoJhHB1v5NTA4Hk565/D5B0deYJf9xJW330hyf0=";
};
sourceRoot = "${finalAttrs.src.name}/codex-rs";
- cargoHash = "sha256-S4dsZXfmKvJItL2XYKyxfhqdCMATEG6oPjrtVRwkuYc=";
+ cargoHash = "sha256-t9IMRK9R+Z67ThEcgBI0HQU0E4aJHcOjKp22RFclh9U=";
__structuredAttrs = true;
@@ -57,12 +56,6 @@
];
postPatch = ''
- # webrtc-sys asks rustc to link libwebrtc statically by default,
- # but nixpkgs provides libwebrtc as a shared library.
- # use LK_CUSTOM_WEBRTC to point to the packaged library and adjust linking
- # to use the shared library instead
- substituteInPlace $cargoDepsCopy/*/webrtc-sys-*/build.rs \
- --replace-fail "cargo:rustc-link-lib=static=webrtc" "cargo:rustc-link-lib=dylib=webrtc"
substituteInPlace Cargo.toml \
--replace-fail 'lto = "thin"' "" \
--replace-fail 'codegen-units = 4' ""
@@ -91,7 +84,6 @@
# character-conversion warning-as-error disabled.
env = {
LIBCLANG_PATH = "${lib.getLib libclang}/lib";
- LK_CUSTOM_WEBRTC = lib.getDev livekit-libwebrtc;
NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isGNU [
"-Wno-error=stringop-overflow"
claude-code
nixpkgs master recipe for claude-code changed since the last snapshot.
Review the diff and port anything relevant into home-manager/pkgs/claude-code/package.nix.
--- home-manager/pkgs/claude-code/nixpkgs-upstream.nix 2026-07-26 21:09:38.188758916 +0000
+++ /tmp/upstream.nix 2026-07-26 21:09:38.584399933 +0000
@@ -16,11 +16,11 @@
socat,
versionCheckHook,
writableTmpDirAsHomeHook,
+ manifest ? lib.importJSON ./manifest.json,
}:
let
stdenv = stdenvNoCC;
baseUrl = "https://downloads.claude.ai/claude-code-releases";
- manifest = lib.importJSON ./manifest.json;
platformKey = "${stdenv.hostPlatform.node.platform}-${stdenv.hostPlatform.node.arch}";
platformManifestEntry = manifest.platforms.${platformKey};
in
codex
nixpkgs master recipe for
codexchanged since the last snapshot.Review the diff and port anything relevant into
home-manager/pkgs/codex/package.nix.claude-code
nixpkgs master recipe for
claude-codechanged since the last snapshot.Review the diff and port anything relevant into
home-manager/pkgs/claude-code/package.nix.