import "github.com/egdaemon/eg/runtime/x/wasi/wayland"
Package wayland provides pipeline steps for bridging the host Wayland compositor into a container. AgentOptionWayland (in the eg CLI's runners package) always sets up the env vars and host-socket mount; newer eg CLI binaries also bridge the two automatically during container bootstrap (waylandhack, in cmd/eg/runner.go). Backport exists for pipelines that may run against an older eg CLI binary lacking that bootstrap step.
func Backport() eg.OpFn
Backport runs the waypipe client/server bridge as an ordinary pipeline step, but only if the container bootstrap hasn't already created the app-facing Wayland socket -- i.e. only on eg CLI versions old enough to lack waylandhack. Safe to include unconditionally in a pipeline.