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
makesSenseForQemuUser = feature:
! (builtins.elem feature [ "kvm" "benchmark" ]);
makesSenseForQemuUser = feature: !(builtins.elem feature [ "kvm" "benchmark" ]);
# strips features that don't make sense on qemu-user
extraPlatformSystemFeatures =
builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
extraPlatformSystemFeatures = builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
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
''

View File

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