summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2016-11-14 22:04:32 -0800
committerFranz Pletz <fpletz@fnordicwalking.de>2016-11-15 07:04:32 +0100
commit9cbf8a06526385482e9732f9283fe73674756c02 (patch)
tree9ae574b5e52c5e59647bb46cacd27d8c4eaa31b0 /nixos/modules
parent45854a02e8e25704d54f7475566ebfdfd2fcdacc (diff)
downloadnixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar.gz
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar.bz2
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar.lz
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar.xz
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.tar.zst
nixpkgs-9cbf8a06526385482e9732f9283fe73674756c02.zip
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
```
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 333782d15bc..e2bbd4b01aa 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -172,8 +172,8 @@ in
             sshKey = "/root/.ssh/id_buildfarm";
             system = "x86_64-linux";
             maxJobs = 2;
-            supportedFeatures = "kvm";
-            mandatoryFeatures = "perf";
+            supportedFeatures = [ "kvm" ];
+            mandatoryFeatures = [ "perf" ];
           }
         ];
         description = ''