Skip to content

Commit

Permalink
distributed builds: use stdenv.hostPlatform.system
Browse files Browse the repository at this point in the history
hostPlatform alone returns an attribute set, but that setting expects a system type string
  • Loading branch information
fricklerhandwerk authored Nov 29, 2024
1 parent 616ee7a commit 445cff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tutorials/nixos/distributed-builds-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ If your *local machine* runs NixOS, in its configuration directory create the fi
hostName = "remotebuilder";
sshUser = "remotebuild";
sshKey = "/root/.ssh/remotebuild";
system = pkgs.stdenv.hostPlatform;
system = pkgs.stdenv.hostPlatform.system;
supportedFeatures = [ "nixos-test" "big-parallel" "kvm" ];
}
];
Expand Down

0 comments on commit 445cff7

Please sign in to comment.