Skip to content

chore: bump nixpkgs and apply new swiftformat/swiftlint/zizmor rules - #276

Draft
ethanndickson wants to merge 1 commit into
mainfrom
chore/bump-nixpkgs
Draft

ethanndickson wants to merge 1 commit into
mainfrom
chore/bump-nixpkgs

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

I was trying to compile #275 locally, and running make fmt and make -B picked up the Homebrew versions of swiftformat, swiftlint, protoc and protoc-gen-grpc-swift rather than the ones we pin, so I ended up with a big formatting diff, and gRPC v2 generated code that doesn't compile against our pinned v1 runtime.

This PR bumps nixpkgs (last updated March 2025) and commits the resulting make fmt changes. swiftformat goes from 0.55.5 to 0.64.3, swiftlint from 0.58.2 to 0.65.1, and protoc from 28 to 36, as protobuf_28 has been removed from nixpkgs. Regenerating the protos produces no diff.

The protoc plugins from grpc-swift-flake are built with nixpkgs' Swift toolchain, which newer nixpkgs no longer supports on macOS, so for now I've pinned that input to the old nixpkgs revision. In a follow-up PR I'll bump the SwiftProtobuf and GRPC runtimes alongside their generators, and drop that flake entirely.

The newer zizmor also wanted a Dependabot cooldown, and the new $/ self-repository uses: syntax. actionlint doesn't support $/ yet (rhysd/actionlint#711), so I've just disabled that audit.

This is the bottom of a PR stack, with #277 (Xcode 27 build fixes) and then #275 on top.

@ethanndickson
ethanndickson added this pull request to stack #278 October 29, 2026 06:10
@ethanndickson
ethanndickson removed this pull request from stack #278 October 30, 2026 01:33
@ethanndickson
ethanndickson changed the base branch from main to fix/trusted-app-links October 30, 2026 01:45
@ethanndickson
ethanndickson added this pull request to stack #281 October 30, 2026 01:45
@ethanndickson
ethanndickson removed this pull request from stack #281 October 30, 2026 01:47
@ethanndickson
ethanndickson changed the base branch from fix/trusted-app-links to main October 30, 2026 01:47
@ethanndickson
ethanndickson added this pull request to stack #282 October 30, 2026 01:47
@ethanndickson
ethanndickson force-pushed the chore/bump-nixpkgs branch 2 times, most recently from d34aeb2 to 942ade5 Compare October 30, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant