Repository navigation
fix(ci): refresh Android SDK and stale Nixpkgs inputs - #251
Merged
Merged
Conversation
dpc
enabled auto-merge
November 11, 2026 18:32
auto-merge was automatically disabled
November 11, 2026 18:57
Merge commits are not allowed on this repository
dpc
enabled auto-merge (rebase)
November 12, 2026 05:52
dpc
force-pushed
the
dpc/jj-vvsmpkmstrmu
branch
from
November 12, 2026 05:59
080b2a2 to
cdbc53c
Compare
### Motivation The macOS build in rustshop#250 repeatedly failed because the pinned Android SDK metadata expected a different SHA-1 for `platform-tools_r37.0.0-darwin.zip` than Google currently serves. This failure predates rustshop#250. The flake self-check also rejects the old Nixpkgs input. ### Changes Update Android metadata to the November 10 stable snapshot, retaining the upstream emulator build fix and selecting stable platform-tools 37.0.1. Its Darwin and Linux checksums match Google's stable-channel metadata and independently fetched archives. Do not override the historical 37.0.0 hash: the reason its bytes changed remains unknown. Avoid the November 11 snapshot because it selects canary 37.0.3. Refresh Nixpkgs within `nixos-26.05` to the November 8 revision. Preserve that newer pin when rebasing over upstream's September 5 pin. The Android input's devshell dependency updates with it; other inputs remain pinned. Updated upstream adds hook and prose checks that expose additional inherited lint failures. Replace an unused `root` assignment in the shell-hook generator with the same Git-root check, discarding its output. Regenerate the shell hook, root identity, and Just file; the latter's Bash path follows the updated Nixpkgs input. Extend Vale's project vocabulary for existing systems terms and sentence-case “Dev”. Also wrap an existing timer comment as treefmt requires. These fixes preserve hook behavior and keep all lint checks enabled; the implicated source and prose matched upstream before the fixes. ### Validation The exact GitHub Commit Check command now passes: `nix develop --ignore-environment .#lint --command ./misc/git-hooks/pre-commit`. It previously reproduced the unused-variable and fifteen Vale errors. `nix develop -c selfci check -c vvsmpkms` also passes, including the Linux flake checks and hook integration coverage. Regenerating again leaves the candidate unchanged. The official flake checker passes locally. The original PR head passed Linux and macOS CI; the updated head is awaiting CI. ### Review Independent review passed for the dependency repair, rebase, and inherited lint repairs, with no findings or required spec changes. Review confirmed preservation of upstream changes and pins, equivalent shell-guard behavior, synchronized generated files, and narrowly scoped vocabulary additions.
dpc
force-pushed
the
dpc/jj-vvsmpkmstrmu
branch
from
November 12, 2026 06:15
cdbc53c to
fd3f7c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Posted by Tau
Summary
Fix the pre-existing macOS Android SDK download failure, stale-Nixpkgs self-check, and inherited lint failures exposed after rebasing onto updated upstream.
Details
Flakebox builds its Android cross-compilation environment from pinned SDK metadata. The old pin expects a different SHA-1 for Google's macOS platform-tools 37.0.0 archive than Google currently serves, so CI fails before compiling the project. The reason the historical archive differs is unknown; this change does not override its hash.
Pin the November 10 Android snapshot instead. It retains the upstream emulator build fix and selects stable platform-tools 37.0.1, whose Darwin and Linux checksums match Google's stable-channel metadata. Avoid the November 11 snapshot because it selects canary 37.0.3.
Refresh Nixpkgs within
nixos-26.05so the self-check no longer rejects its age. Preserve the newer November 8 pin when rebasing over upstream's September 5 pin. The Android input's devshell dependency updates with it; other inputs remain pinned.Updated upstream also exposes inherited lint failures. Replace an unused shell-hook
rootassignment with an equivalent Git-root check, then regenerate the shell hook, root identity, and Just file; the Just file's Bash path follows the updated Nixpkgs input. Add legitimate systems terms to Vale's vocabulary, sentence-case “Dev”, and wrap a timer comment. No checks are disabled or documentation meaning changed.The exact GitHub lint command,
nix develop --ignore-environment .#lint --command ./misc/git-hooks/pre-commit, and the full local check,nix develop -c selfci check -c vvsmpkms, passed. A second regeneration made no changes. Independent review passed all phases with no findings or required spec changes. The original PR head passed Linux and macOS CI; the updated head is awaiting CI.