From 032d1c975966c1ea30eb8b567916bd37052eb012 Mon Sep 17 00:00:00 2001 From: Will Roden Date: Tue, 9 May 2023 17:52:00 -0500 Subject: [PATCH] fix systems --- internal/bindown/dependency.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bindown/dependency.go b/internal/bindown/dependency.go index 1b0e088..46583f1 100644 --- a/internal/bindown/dependency.go +++ b/internal/bindown/dependency.go @@ -191,7 +191,7 @@ func (d *Dependency) applyTemplate(templates map[string]*Dependency, depth int) if d.RequiredVars != nil { newDL.RequiredVars = append(newDL.RequiredVars, d.RequiredVars...) } - newDL.Systems = slices.Clone(d.Systems) + newDL.Systems = slices.Clone(newDL.Systems) newDL.addOverrides(d.Overrides) *d = *newDL return nil