Function tvix_eval::value::attrs::set_attr

source ยท
fn set_attr(
    map: &mut BTreeMap<NixString, Value>,
    key: NixString,
    value: Value,
) -> Result<(), ErrorKind>
Expand description

Set an attribute on an in-construction attribute set, while checking against duplicate keys.