Skip to content

Commit 445cff7

Browse files
distributed builds: use stdenv.hostPlatform.system
hostPlatform alone returns an attribute set, but that setting expects a system type string
1 parent 616ee7a commit 445cff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tutorials/nixos/distributed-builds-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ If your *local machine* runs NixOS, in its configuration directory create the fi
187187
hostName = "remotebuilder";
188188
sshUser = "remotebuild";
189189
sshKey = "/root/.ssh/remotebuild";
190-
system = pkgs.stdenv.hostPlatform;
190+
system = pkgs.stdenv.hostPlatform.system;
191191
supportedFeatures = [ "nixos-test" "big-parallel" "kvm" ];
192192
}
193193
];

0 commit comments

Comments
 (0)