It's pretty simple to use a repo to aid the building of nix packages. You need:
- Two machines, let's call them
Builder
andRepo
. - Each machine has nix installed. Let's say that
Repo
has a nix installation owned by the usernix-repo
, andBuilder
has one owned bynix-builder
. nix-builder
is able to SSH intoRepo
asnix-repo
.
Once you have this, to build a package on Builder
using Repo
: