Nix flake for installing xcode-build-server with its runtime dependency (Python 3).
default.nixpackage definition forxcode-build-server.flake.nixpinned tonixpkgs25.11 (nixos-25.11input).- Darwin-only outputs (
x86_64-darwin,aarch64-darwin) with default package/app/shell.
This repo is pinned to upstream tag v1.3.0 using builtins.fetchGit.
nix run github:MetalheadSanya/nix-xcode-build-serverOr from this local repo:
nix run .nix profile install .nix profile install .#defaultFrom GitHub directly:
nix profile install github:MetalheadSanya/nix-xcode-build-server#defaultIf you already have your own flake.nix, add this repo as an input and include the package in your shell.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
xcode-build-server-flake.url = "github:MetalheadSanya/nix-xcode-build-server";
};
outputs = { self, nixpkgs, flake-utils, xcode-build-server-flake }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
packages = [
xcode-build-server-flake.packages.${system}.default
];
};
});
}Then enter your shell:
nix developAnd confirm the tool is available:
xcode-build-server --helpnix-build
./result/bin/xcode-build-server --helpxcode-build-serveris macOS-specific, so outputs are only provided for Darwin systems.- You still need Apple's Xcode/Command Line Tools for
xcodebuilditself. - For future releases in this repo, create a matching git tag to simplify installer targeting.