use nix-eval-jobs from nixpkgs

This commit is contained in:
Jörg Thalheim 2023-10-15 11:26:09 +02:00
parent 2409fc9c91
commit a553fdfa34
2 changed files with 2 additions and 7 deletions

View file

@ -433,13 +433,7 @@ def nix_eval_config(
name="evaluate flake",
supported_systems=supported_systems,
command=[
"nix",
"run",
"--option",
"accept-flake-config",
"true",
"github:nix-community/nix-eval-jobs",
"--",
"nix-eval-jobs",
"--workers",
multiprocessing.cpu_count(),
"--max-memory-size",

View file

@ -53,6 +53,7 @@ in
pkgs.openssh
pkgs.gh
pkgs.nix
pkgs.nix-eval-jobs
];
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';