From 371b0058b9e25b383f3c8bc7aebb3f93360c1df2 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 12 Jul 2024 18:04:30 +0530 Subject: jobs: don't force-recurse the eval will take huge amount of resources in large repos like nixpkgs. --- src/jobs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/jobs.c b/src/jobs.c index 859c519..fc35f83 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -514,12 +514,11 @@ out_free_job: int jobs_init(FILE **stream, char *expr) { size_t argindex; - char *args[5]; + char *args[4]; int ret; argindex = 0; args[argindex++] = XSTR(NIX_EVAL_JOBS_PATH); - args[argindex++] = "--force-recurse"; if (evanix_opts.isflake) args[argindex++] = "--flake"; args[argindex++] = expr; -- cgit v1.2.3