Skip to content

Commit f86cfef

Browse files
committed
add kvm nix feature to local-builder profile
1 parent 3969030 commit f86cfef

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

nix/metal/bitteProfile/local-builder.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
profiles.auxiliaries.builder.enable = false;
88

99
nix = let
10-
systemFeatures = ["big-parallel" "benchmark"];
10+
supportedFeatures = ["big-parallel" "benchmark"];
1111
in {
1212
buildMachines = let
1313
mkDarwinBuilder = name: mandatoryFeatures: {
@@ -18,7 +18,7 @@
1818
sshKey = "/etc/nix/darwin-builder-key";
1919
sshUser = "builder";
2020
systems = ["x86_64-darwin"];
21-
supportedFeatures = systemFeatures;
21+
inherit supportedFeatures;
2222
};
2323
in [
2424
(mkDarwinBuilder "mm1-builder" [])
@@ -29,7 +29,11 @@
2929

3030
distributedBuilds = true;
3131

32-
inherit systemFeatures;
32+
systemFeatures =
33+
supportedFeatures
34+
++ [
35+
"kvm" # even if KVM is not supported; better to run slow than to fail
36+
];
3337

3438
trustedUsers = ["root" "builder"];
3539

0 commit comments

Comments
 (0)