From 11279f7e7a808d5440ebfeaa734b892d202094e0 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 11 Feb 2025 08:52:48 +0100 Subject: checkout locations: support extra environment variables to inherit --- src/other_tools/just_mr/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/other_tools/just_mr/main.cpp') diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index d65cbb50..ef91acc3 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -315,6 +315,9 @@ auto main(int argc, char* argv[]) -> int { arguments.common.alternative_mirrors->preferred_hostnames = checkout_locations_json.value("preferred hostnames", nlohmann::json::array()); + arguments.common.alternative_mirrors->extra_inherit_env = + checkout_locations_json.value("extra inherit env", + nlohmann::json::array()); } catch (std::exception const& e) { Logger::Log( LogLevel::Error, -- cgit v1.2.3