eb-local.recipe_overlay¶
- module eb-local.recipe_overlay src/recipe_overlay.zig[source][autodoc]¶
Declarative site overlays for upstream easyconfigs: parameter replacements, patch additions, dependency variants, keyed by the base file digest.
Types¶
- pub const Parameter = struct[source][autodoc]¶
One parameter assignment to add to or replace in the upstream easyconfig.
- pub const Spec = struct[source][autodoc]¶
A parsed overlay description; only the fields the format allows.
Error sets¶
Functions¶
- pub fn parseSpec(a: Allocator, text: []const u8, d: *Diagnostic) Error!Spec[source][autodoc]¶
Read overlay TOML from
text. Tables[add],[replace],[patches],[dependencies.add]and[dependencies.replace]hold the edits.
- pub fn sha256Hex(a: Allocator, data: []const u8) ![]const u8[source][autodoc]¶
SHA-256 of
dataas lowercase hex, for digests in overlay files.