Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

nix-xcode-build-server

Nix flake for installing xcode-build-server with its runtime dependency (Python 3).

What this repo provides

  • default.nix package definition for xcode-build-server.
  • flake.nix pinned to nixpkgs 25.11 (nixos-25.11 input).
  • Darwin-only outputs (x86_64-darwin, aarch64-darwin) with default package/app/shell.

Upstream pin

This repo is pinned to upstream tag v1.3.0 using builtins.fetchGit.

Usage

Run directly (flakes)

nix run github:MetalheadSanya/nix-xcode-build-server

Or from this local repo:

nix run .

Install into profile

nix profile install .

Install package from flake.nix

nix profile install .#default

From GitHub directly:

nix profile install github:MetalheadSanya/nix-xcode-build-server#default

Use this package inside your own flake.nix (for devShell)

If 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 develop

And confirm the tool is available:

xcode-build-server --help

Legacy Nix usage (default.nix)

nix-build
./result/bin/xcode-build-server --help

Notes

  • xcode-build-server is macOS-specific, so outputs are only provided for Darwin systems.
  • You still need Apple's Xcode/Command Line Tools for xcodebuild itself.
  • For future releases in this repo, create a matching git tag to simplify installer targeting.

About

Nix flake for installing xcode-build-server

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages