This commit is contained in:
Sandro - 2023-01-16 01:51:06 +01:00
parent 7c7a07d78d
commit 47a0808b97
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 5 additions and 9 deletions

View File

@ -319,11 +319,9 @@ in
}; };
hydra-init.preStart = let hydra-init.preStart = let
makesSenseForQemuUser = feature: makesSenseForQemuUser = feature: !(builtins.elem feature [ "kvm" "benchmark" ]);
! (builtins.elem feature [ "kvm" "benchmark" ]);
# strips features that don't make sense on qemu-user # strips features that don't make sense on qemu-user
extraPlatformSystemFeatures = extraPlatformSystemFeatures = builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
in in
# both entries cannot have localhost alone because then hydra would merge them together but we want explictily two to not allow benchmarkts for binfmt emulated arches # both entries cannot have localhost alone because then hydra would merge them together but we want explictily two to not allow benchmarkts for binfmt emulated arches
'' ''

View File

@ -26,11 +26,9 @@
deviceTree.enable = true; deviceTree.enable = true;
}; };
nix = { nix.settings = {
settings = { cores = 2;
cores = 2; max-jobs = 1;
max-jobs = 1;
};
}; };
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {