xmtplabs/Pin Xcode in /nix/store
Materialize Apple's Xcode at a pinned /nix/store/<hash>-Xcode.app path so flake-based iOS builds can refer to it deterministically. Two backends: WarpBuilds cache (private, branch-scoped) or FlakeHub Cache (cross-branch substituter via DeterminateSystems/flakehub-cache-action; OIDC auth).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| xcode-path | Absolute path to the runner-local Xcode.app (e.g. /Applications/Xcode_26.3.app) | yes | — |
| xcode-nix-path | Pinned /nix/store path Xcode should land at. Captured once per Xcode version via `nix store add --name Xcode.app <xcode-path>`. | yes | — |
| backend | warpbuilds | flakehub | no | warpbuilds |
| cache-key | Override the WarpBuilds cache key. Defaults to a stable string derived from xcode-nix-path. Only consulted when backend=warpbuilds. | no | "" |
Outputs
| name | description |
|---|---|
| cache-hit | 'true' when Xcode was hydrated from the backend without rehashing |
| developer-dir | Same as xcode-nix-path; pass through to xcodebuild's DEVELOPER_DIR |