summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus T. Aehlig <aehlig@linta.de>2024-06-27 09:51:55 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-27 09:51:55 +0200
commit9a4697a2c948a4bcb4a2232a371b6cb3c178e20b (patch)
tree814a25547039a0ee0815def7d94390902fbd2394
parentbf3e05a614f1de5a9a8a0f8e40f1dd9e1f6609da (diff)
downloadrules-rust-9a4697a2c948a4bcb4a2232a371b6cb3c178e20b.tar.gz
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.
-rw-r--r--rules/cargo/RULES5
1 files changed, 5 insertions, 0 deletions
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"