- Install Nix as per the instructions on the Determinate installer: link
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Install command line tools:
xcode-select --install
- Find the required SSH file for Github to make sure this repo is accessible (Ignore if repo is public)
Test with
ssh -T [email protected]
- Run
bin/build
or the specific build script likebin/darwin-build
Go to flake.nix
and update the inputs:
url = "github:nixos/nixpkgs?rev=eabe8d3eface69f5bb16c18f8662a702f50c20d5";
The revision could be from this link: https://github.com/NixOS/nixpkgs/tree/nixpkgs-unstable
or any other branch (nixos-unstable
or any other release)