pub fn handle_structured_attrs<'a>(
json_str: &[u8],
outputs: impl Iterator<Item = (&'a str, StorePath<&'a str>)>,
environment_vars: &mut BTreeMap<String, Vec<u8>>,
additional_files: &mut BTreeMap<String, Bytes>,
) -> Result<()>Expand description
handle structuredAttrs.
This takes the contents of the __json env in the Derivation,
and populates environment_vars and additional_files.