From b81f6a5f29ea01ab50a98cc7eb1ab11527db3424 Mon Sep 17 00:00:00 2001 From: ge Date: Thu, 2 Oct 2025 00:31:53 +0300 Subject: [PATCH] make.vsh: fix environment setup --- make.vsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make.vsh b/make.vsh index 2aca3f9..9fd9045 100755 --- a/make.vsh +++ b/make.vsh @@ -2,6 +2,7 @@ import build import crypto.sha256 +import maps import os import term import v.vmod @@ -271,7 +272,7 @@ fn execute_command(executable string, args []string, opts CommandOptions) ! { printdbg("Run '${path}' with arguments: ${args}") mut proc := os.new_process(path) proc.set_args(args) - proc.set_environment(opts.env) + proc.set_environment(maps.merge(os.environ(), opts.env)) proc.set_work_folder(os.getwd()) proc.run() proc.wait()