Documentation ¶
Index ¶
- Constants
- func Build(path *storepath.StorePath, env []string, ctx context.Context) error
- func Config() (config map[string]string, err error)
- func GetNixOSVersion() (string, error)
- func GetStdErr(ctx context.Context) io.Writer
- func GetStdOut(ctx context.Context) io.Writer
- func GetSystem() (path string, err error)
- func IsHostNixOS() (bool, error)
- func IsSystemClosure(closure *storepath.StorePath) error
- func SetStdError(ctx context.Context, writer io.Writer) context.Context
- func SetStdOut(ctx context.Context, writer io.Writer) context.Context
- func SetSystem(path *storepath.StorePath, ctx context.Context) error
- func Switch(closure *storepath.StorePath, action string, ctx context.Context) error
- type Info
Constants ¶
View Source
const (
ErrorMalformedClosure = errors.ConstError("closure is malformed")
)
Variables ¶
This section is empty.
Functions ¶
func GetNixOSVersion ¶
func IsHostNixOS ¶
func IsSystemClosure ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.