Module structured_attrs

Module structured_attrs 

Source
Expand description

Contains code modifying BuildRequest to honor structuredAttrs functionality.

Modules§

shell 🔒
Contains the code rendering the shell script that’s used for structured attrs.

Constants§

JSON_FILE_ENV_NAME
JSON_FILE_PATH
JSON_KEY
SH_FILE_ENV_NAME
SH_FILE_PATH

Functions§

handle_structured_attrs
handle structuredAttrs. This takes the contents of the __json env in the Derivation, and populates environment_vars and additional_files.