helper/bwrap: register OverlayConfig with gob
All checks were successful
Tests / Go tests (push) Successful in 58s
Nix / NixOS tests (push) Successful in 3m5s

This is required for copying bwrap configurations across processes.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
Ophestra 2025-01-14 12:25:10 +09:00
parent 1651eb06df
commit 7d99e45b88
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

View File

@ -9,6 +9,7 @@ import (
func init() { func init() {
gob.Register(new(PermConfig[SymlinkConfig])) gob.Register(new(PermConfig[SymlinkConfig]))
gob.Register(new(PermConfig[*TmpfsConfig])) gob.Register(new(PermConfig[*TmpfsConfig]))
gob.Register(new(OverlayConfig))
} }
type Config struct { type Config struct {