From 6e193983ce27fbf4eaae7e037d5c34d1f29fb1df Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Thu, 19 Feb 2026 08:58:06 -0500 Subject: [PATCH] script-generator: fix env SRCDIR to jump to steps-guix folder and do the build --- seed/script-generator.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/seed/script-generator.c b/seed/script-generator.c index de887118..8bfc0648 100644 --- a/seed/script-generator.c +++ b/seed/script-generator.c @@ -455,7 +455,7 @@ FILE *start_script(int id, int bash_build) { if (bash_build) { char *bootstrap_file = config_path("bootstrap.cfg"); char *env_file = config_path("env"); - char *helpers_file = config_path("helpers.sh"); + char *helpers_file = join_path(steps_root, "helpers.sh"); fputs("#!/bin/bash\n", out); if (strcmp(get_var("INTERACTIVE"), "True") == 0) { if (bash_build != 1) { @@ -478,6 +478,9 @@ FILE *start_script(int id, int bash_build) { fputs(". ", out); fputs(env_file, out); fputs("\n", out); + fputs("SRCDIR=", out); + fputs(steps_root, out); + fputs("\n", out); fputs(". ", out); fputs(helpers_file, out); fputs("\n", out);