nix

package
v1.26.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMultipleArchivesSamePlatform = errors.New("one nixpkg can handle only one archive of each OS/Arch combination")

ErrMultipleArchivesSamePlatform happens when the config yields multiple archives for the same platform.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	URL, Sha string
}

type Pipe

type Pipe struct {
	// contains filtered or unexported fields
}

func NewBuild

func NewBuild() Pipe

NewBuild returns a pipe to be used in the build phase.

func NewPublish

func NewPublish() Pipe

NewPublish returns a pipe to be used in the publish phase.

func (Pipe) ContinueOnError

func (Pipe) ContinueOnError() bool

func (Pipe) Default

func (Pipe) Default(ctx *context.Context) error

func (Pipe) Dependencies

func (Pipe) Dependencies(_ *context.Context) []string

func (Pipe) Publish

func (p Pipe) Publish(ctx *context.Context) error

Publish .

func (Pipe) Run

func (p Pipe) Run(ctx *context.Context) error

func (Pipe) Skip

func (p Pipe) Skip(ctx *context.Context) bool

func (Pipe) String

func (Pipe) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL