From 9a4697a2c948a4bcb4a2232a371b6cb3c178e20b Mon Sep 17 00:00:00 2001 From: "Klaus T. Aehlig" Date: Thu, 27 Jun 2024 09:51:55 +0200 Subject: cargo: set env for all actions ... also for those not directly calling rust/cargo tools. In this way, the user can still use the defaults to set the PATH. On certain systems this might be necessary even to get basic programs like cat, awk, etc. --- rules/cargo/RULES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rules/cargo') diff --git a/rules/cargo/RULES b/rules/cargo/RULES index 19d961b..59ef326 100644 --- a/rules/cargo/RULES +++ b/rules/cargo/RULES @@ -218,6 +218,11 @@ , "separator": "" } ] + , "env": + { "type": "lookup" + , "key": "env" + , "map": {"type": "var", "name": "artifact result"} + } } ] , [ "args" -- cgit v1.2.3