Skip to content

Commit

Permalink
metal/bitteProfile/local-builder: add missing system features
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Jan 5, 2023
1 parent 935de18 commit 3969030
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nix/metal/bitteProfile/local-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
}: {
profiles.auxiliaries.builder.enable = false;

nix = {
nix = let
systemFeatures = ["big-parallel" "benchmark"];
in {
buildMachines = let
mkDarwinBuilder = name: mandatoryFeatures: {
inherit mandatoryFeatures;
Expand All @@ -16,7 +18,7 @@
sshKey = "/etc/nix/darwin-builder-key";
sshUser = "builder";
systems = ["x86_64-darwin"];
supportedFeatures = ["big-parallel"];
supportedFeatures = systemFeatures;
};
in [
(mkDarwinBuilder "mm1-builder" [])
Expand All @@ -27,6 +29,8 @@

distributedBuilds = true;

inherit systemFeatures;

trustedUsers = ["root" "builder"];

extraOptions = ''
Expand Down

0 comments on commit 3969030

Please sign in to comment.