nixos/nix-daemon.nix: fix nix.distributedBuilds assertion
This commit is contained in:
parent
ed1423b03c
commit
67b6e56391
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue