wezterm: 0-unstable-2025-10-23 -> 0-unstable-2026-01-08

Also fixes the update script to properly update cargoHash.
This commit is contained in:
Simonas Kazlauskas
2026-01-09 00:23:19 +02:00
parent 492054cb2d
commit 6f3fd002b1
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -28,14 +28,14 @@
rustPlatform.buildRustPackage rec {
pname = "wezterm";
version = "0-unstable-2025-10-23";
version = "0-unstable-2026-01-08";
src = fetchFromGitHub {
owner = "wezterm";
repo = "wezterm";
rev = "b6e75fd7c8f9c9ad5af4efbba1d28df0969f6b17";
rev = "3715c8744def1e9bedb038e5ace1d5dfb76e8d3b";
fetchSubmodules = true;
hash = "sha256-t99sVnRzfJUa6b6h55nFy/Xpkeeeph5ugZBl98N0jEg=";
hash = "sha256-RMUoYt6i4rIS0S2qOSv+7nlt8jzbIA5y10P01QjKi0I=";
};
postPatch = ''
@@ -58,7 +58,7 @@ rustPlatform.buildRustPackage rec {
# https://github.com/wezterm/wezterm/blob/main/nix/flake.nix#L134
auditable = false;
cargoHash = "sha256-QjYxDcWTbLTmtQEK6/ujwaDwdY+4C6EIOZ8I0hYIx00=";
cargoHash = "sha256-am5i7Bsoiu1a4RWDy+dpuHgyZpQvKOlEMzCP8QxbeaQ=";
nativeBuildInputs = [
installShellFiles
+2 -2
View File
@@ -22,8 +22,8 @@ NEW_VERSION="0-unstable-$COMMIT_DATE"
FETCH_JSON=$(nix-prefetch-git --url "https://github.com/$OWNER/$REPO" --rev "$LATEST_REV" --fetch-submodules)
FETCH_HASH=$(echo "$FETCH_JSON" | jq --raw-output .hash)
(cd "$NIXPKGS_ROOT" && nix-update wezterm)
(cd "$NIXPKGS_ROOT" && update-source-version "$PACKAGE_NIX_ATTR_PATH" "$NEW_VERSION" "$FETCH_HASH" --rev="$LATEST_REV")
(cd "$NIXPKGS_ROOT" && update-source-version "$PACKAGE_NIX_ATTR_PATH" "$NEW_VERSION" "$FETCH_HASH" --rev="$LATEST_REV" --ignore-same-version --print-changes)
(cd "$NIXPKGS_ROOT" && nix-update --version=skip "$PACKAGE_NIX_ATTR_PATH")
sed -i -e "s#version = \".*\"#version = \"$NEW_VERSION\"#" "$NIXPKGS_ROOT/pkgs/by-name/we/wezterm/package.nix"