aboutsummaryrefslogtreecommitdiff
path: root/src/jobs.c
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-22 23:48:45 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-23 01:59:49 +0530
commit4740b89e88dff04361da7f7f3bd9e823fd75d5b2 (patch)
treeb5cf30095adc7dcd12ed9a0d9d83671f04efaf43 /src/jobs.c
parent49b1faa9c128b9beb8f517bed5cccfc5cb3b0ef0 (diff)
htab: init
Diffstat (limited to 'src/jobs.c')
-rw-r--r--src/jobs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jobs.c b/src/jobs.c
index 28273dd..3e38b07 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -16,7 +16,6 @@ static int job_read_inputdrvs(struct job *job, cJSON *input_drvs);
static int job_read_outputs(struct job *job, cJSON *outputs);
static int job_deps_list_insert(struct job *job, struct job *dep);
static int job_output_list_insert(struct job *job, struct output *output);
-static void job_deps_list_rm(struct job *job, struct job *dep);
static void output_free(struct output *output)
{
@@ -53,7 +52,7 @@ static int job_output_list_insert(struct job *job, struct output *output)
return 0;
}
-static void job_deps_list_rm(struct job *job, struct job *dep)
+void job_deps_list_rm(struct job *job, struct job *dep)
{
for (size_t i = 0; i < job->deps_filled; i++) {
if (job->deps[i] != dep)
@@ -370,7 +369,7 @@ int jobs_init(FILE **stream)
char *const args[] = {
"nix-eval-jobs",
"--flake",
- "github:sinanmohd/evanix#packages.x86_64-linux",
+ "github:NixOS/nixpkgs#legacyPackages.x86_64-linux.python310Packages",
NULL,
};