Metal kernels 🤘

Instructions on this page assume that you installed Nix with the Determinate Nix installer.

Targeted macOS versions

Since new macOS versions get adopted quickly, we only support the latest major macOS version except for the first weeks after a release, when we also support the previous major version.

We currently support macOS 26.0 and later on ARM64 (Apple silicon).

Requirements

To build a Metal kernel, the following requirements must be met:

You can check these requirements as follows. First, you can check the Xcode version as follows:

$ xcodebuild -version
Xcode 26.1
Build version 17B55

The reported version must be 26.0 or newer. Then you can validate that the Metal Toolchain is installed with:

$ xcodebuild -showComponent metalToolchain
Asset Path: /System/Library/AssetsV2/com_apple_MobileAsset_MetalToolchain/68d8db6212b48d387d071ff7b905df796658e713.asset/AssetData
Build Version: 17B54
Status: installed
Toolchain Identifier: com.apple.dt.toolchain.Metal.32023
Toolchain Search Path: /private/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.2.54.0.mDxgz0
Update on GitHub