aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-12 18:04:30 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-12 18:30:38 +0530
commit371b0058b9e25b383f3c8bc7aebb3f93360c1df2 (patch)
tree04ae4f3fd5491769ba46d5afd6d23f05f500902b
parent456460cd243cfc49423373cd8c0035ecc523bf7e (diff)
jobs: don't force-recurse
the eval will take huge amount of resources in large repos like nixpkgs.
-rw-r--r--src/jobs.c3
1 files changed, 1 insertions, 2 deletions
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;