git.iko.soy/typeable/nixpkgs
on master help sign in
Fix buildMachines example: use lists, not string (#20361)

Using the example before this commit resulted in the following error: ``` error: value is a string while a list was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/misc/nix-daemon.nix:349:37 ```

commit9cbf8a06526385482e9732f9283fe73674756c02 authorMichael Stapelberg <stapelberg@users.noreply.github.com> dateMon 14 Nov 2016, 22:04 (10 years ago) parent45854a0
1 file changed+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
@@ -172,8 +172,8 @@ in
172172 sshKey = "/root/.ssh/id_buildfarm";
173173 system = "x86_64-linux";
174174 maxJobs = 2;
175− supportedFeatures = "kvm";
176− mandatoryFeatures = "perf";
175+ supportedFeatures = [ "kvm" ];
176+ mandatoryFeatures = [ "perf" ];
177177 }
178178 ];
179179 description = ''