Distributed build: Difference between revisions
Malteneuss (talk | contribs) m Make overall structure clearer with explicit steps |
Malteneuss (talk | contribs) m Fix typo |
||
| Line 1: | Line 1: | ||
When your '''local machine''' is too slow or doesn't have the right CPU architecture or operating system for the Nix derivation you want to build, you can delegate the build to some other '''remote machine'''. For this you need | When your '''local machine''' is too slow or doesn't have the right CPU architecture or operating system for the Nix derivation you want to build, you can delegate the build to some other '''remote machine'''. For this you need | ||
# the '''Nix package manager installed on both machines'''; just follow the [https://nixos.org/download/ official installation instructions] | # the '''Nix package manager installed on both machines'''; just follow the [https://nixos.org/download/ official installation instructions] and prefer the normal "multi-user" install. You don't need to run NixOS; any operating system like Debian, Ubuntu, Arch, MacOS or others where the Nix package manager can be installed, should work. | ||
# '''SSH access from the local to the remote machine'''. | # '''SSH access from the local to the remote machine'''. | ||
# '''modify the local machine's Nix config to know about the remote machine'''. | # '''modify the local machine's Nix config to know about the remote machine'''. | ||