summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-02-24 11:23:33 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-02-24 13:24:22 +0100
commit9a24de43542bda6034076b7482ca79f9b9565824 (patch)
tree6ab217cf8a88fb483d408ff1237a21c6329d1e5e
parent93fdd3beba1a44a2d3fd95d01cd2c844709936a8 (diff)
downloadjustbuild-9a24de43542bda6034076b7482ca79f9b9565824.tar.gz
just-lock design: Clarify env handling for 'generic' source
-rw-r--r--doc/future-designs/just-lock.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/future-designs/just-lock.md b/doc/future-designs/just-lock.md
index d26ca69d..bb347005 100644
--- a/doc/future-designs/just-lock.md
+++ b/doc/future-designs/just-lock.md
@@ -435,8 +435,6 @@ The type of a _source_ is defined by the string value of the mandatory subfield
from the same **git** source, the user must split that **git** source into two
corresponding **git** entries and place the **generic** entry between them.
- The calling environment is inherited.
-
Proposed format:
``` jsonc
{ "source": "generic"
@@ -445,5 +443,6 @@ The type of a _source_ is defined by the string value of the mandatory subfield
// if missing, defaults to "."
, "cmd": [...] // mandatory; command to run, as list of strings
, "env": {...} // optional; map of envariables needed by script
+ , "inherit env": [...] // optional; list of envariables to inherit
}
```