nixos/nix-daemon.nix: fix nix.distributedBuilds assertion

This commit is contained in:
Matthew Bauer 2020-07-30 21:38:24 -05:00
parent ed1423b03c
commit 67b6e56391

View file

@ -502,7 +502,7 @@ in
assertions = [
{
assertion = (!config.nix.distributedBuilds) && config.nix.buildMachines != [];
assertion = config.nix.distributedBuilds || config.nix.buildMachines == [];
message = "You must set `nix.distributedBuilds = true` to use nix.buildMachines";
}
];