diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-10 17:50:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-10 17:50:36 +0900 |
| commit | f1ffb180bc34e16648fa2e83378244dabc60af7d (patch) | |
| tree | 611c1cc51bdee3b44f27f34f5cd41ef61ede42f5 /internal/rosa/state.go | |
| parent | 7f690145e30bb249c1b03ffe4f33e58472ef5fef (diff) | |
internal/rosa: optionally block packages from early stages
This helps avoid inadvertently increasing bootstrap input count.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 9d864a53..767038ba 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -998,6 +998,8 @@ func (ctx *evalContext) pf( overlay string inputs, runtimes, extra azalea.Array + + bootstrap = true ) if err = args.Apply(map[unique.Handle[azalea.Ident]]any{ k("description"): &meta.Description, @@ -1020,6 +1022,7 @@ func (ctx *evalContext) pf( k("exclusive"): &attr.Exclusive, k("toyboxEarly"): &attr.Early, k("minimal"): &attr.NoToolchain, + k("bootstrap"): &bootstrap, k("checksum"): &kc, k("output"): &output, @@ -1032,6 +1035,7 @@ func (ctx *evalContext) pf( }); err != nil { return } + attr.Std = !bootstrap var inputsH, extraH P if inputsH, err = toHandles(inputs); err != nil { return |
