use nix-eval-jobs from nixpkgs
This commit is contained in:
parent
2409fc9c91
commit
a553fdfa34
|
@ -433,13 +433,7 @@ def nix_eval_config(
|
||||||
name="evaluate flake",
|
name="evaluate flake",
|
||||||
supported_systems=supported_systems,
|
supported_systems=supported_systems,
|
||||||
command=[
|
command=[
|
||||||
"nix",
|
"nix-eval-jobs",
|
||||||
"run",
|
|
||||||
"--option",
|
|
||||||
"accept-flake-config",
|
|
||||||
"true",
|
|
||||||
"github:nix-community/nix-eval-jobs",
|
|
||||||
"--",
|
|
||||||
"--workers",
|
"--workers",
|
||||||
multiprocessing.cpu_count(),
|
multiprocessing.cpu_count(),
|
||||||
"--max-memory-size",
|
"--max-memory-size",
|
||||||
|
|
|
@ -53,6 +53,7 @@ in
|
||||||
pkgs.openssh
|
pkgs.openssh
|
||||||
pkgs.gh
|
pkgs.gh
|
||||||
pkgs.nix
|
pkgs.nix
|
||||||
|
pkgs.nix-eval-jobs
|
||||||
];
|
];
|
||||||
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
|
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
|
||||||
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';
|
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';
|
||||||
|
|
Loading…
Reference in a new issue