Skip to content

Commit 3969030

Browse files
committed
metal/bitteProfile/local-builder: add missing system features
1 parent 935de18 commit 3969030

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

nix/metal/bitteProfile/local-builder.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
}: {
77
profiles.auxiliaries.builder.enable = false;
88

9-
nix = {
9+
nix = let
10+
systemFeatures = ["big-parallel" "benchmark"];
11+
in {
1012
buildMachines = let
1113
mkDarwinBuilder = name: mandatoryFeatures: {
1214
inherit mandatoryFeatures;
@@ -16,7 +18,7 @@
1618
sshKey = "/etc/nix/darwin-builder-key";
1719
sshUser = "builder";
1820
systems = ["x86_64-darwin"];
19-
supportedFeatures = ["big-parallel"];
21+
supportedFeatures = systemFeatures;
2022
};
2123
in [
2224
(mkDarwinBuilder "mm1-builder" [])
@@ -27,6 +29,8 @@
2729

2830
distributedBuilds = true;
2931

32+
inherit systemFeatures;
33+
3034
trustedUsers = ["root" "builder"];
3135

3236
extraOptions = ''

0 commit comments

Comments
 (0)