mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
doc: fix darwin-builder doc (#291518)
This commit is contained in:
parent
82a985a918
commit
267735f785
@ -97,6 +97,7 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon
|
||||
{ virtualisation = {
|
||||
host.pkgs = pkgs;
|
||||
darwin-builder.workingDirectory = "/var/lib/darwin-builder";
|
||||
darwin-builder.hostPort = 22;
|
||||
};
|
||||
}
|
||||
];
|
||||
@ -110,7 +111,9 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon
|
||||
{
|
||||
nix.distributedBuilds = true;
|
||||
nix.buildMachines = [{
|
||||
hostName = "ssh://builder@localhost";
|
||||
hostName = "localhost";
|
||||
sshUser = "builder";
|
||||
sshKey = "/etc/nix/builder_ed25519";
|
||||
system = linuxSystem;
|
||||
maxJobs = 4;
|
||||
supportedFeatures = [ "kvm" "benchmark" "big-parallel" ];
|
||||
|
@ -234,7 +234,7 @@ impure-cmds // appleSourcePackages // chooseLibs // {
|
||||
|
||||
discrete-scroll = callPackage ../os-specific/darwin/discrete-scroll { };
|
||||
|
||||
# See doc/builders/special/darwin-builder.section.md
|
||||
# See doc/packages/darwin-builder.section.md
|
||||
linux-builder = lib.makeOverridable ({ modules }:
|
||||
let
|
||||
toGuest = builtins.replaceStrings [ "darwin" ] [ "linux" ];
|
||||
|
Loading…
Reference in New Issue
Block a user