1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

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";
}
];