1
0
forked from rosa/hakurei

hst: fix ephemeral overlay order

This is quite counterintuitive otherwise.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-20 00:20:31 +09:00
parent cb618093d5
commit f6318304ee
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -82,9 +82,9 @@ func (o *FSOverlay) Apply(z *ApplyState) {
z.Overlay(o.Target, o.Upper, o.Work, o.Lower...)
} else {
z.OverlayEphemeral(o.Target, slices.Concat(
[]*check.Absolute{o.Upper},
o.Lower,
[]*check.Absolute{o.Upper})...,
)
)...)
}
} else {
z.OverlayReadonly(o.Target, o.Lower...)