From 9a24de43542bda6034076b7482ca79f9b9565824 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 24 Feb 2025 11:23:33 +0100 Subject: just-lock design: Clarify env handling for 'generic' source --- doc/future-designs/just-lock.md | 3 +-- 1 file changed, 1 insertion(+), 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 } ``` -- cgit v1.2.3