nix

package
v0.0.0-...-5001955 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Derivation

type Derivation struct {
	Packages []Package
	NixPath  string
	DrvPath  string
}

func NewDerivation

func NewDerivation(vdpath string) *Derivation

func (*Derivation) Execute

func (d *Derivation) Execute(args []string, opts ...executor.Option) error

func (*Derivation) Install

func (d *Derivation) Install() error

func (*Derivation) NeedsUpdate

func (d *Derivation) NeedsUpdate(payloadModified time.Time) bool

func (*Derivation) Path

func (d *Derivation) Path() string

type Package

type Package struct {
	Name     string
	Version  string
	Template string
}

func PackageFor

func PackageFor(name string, version string) (Package, error)

func Packages

func Packages() []Package

func (Package) Derivation

func (p Package) Derivation() string

func (Package) DerivationPackages

func (p Package) DerivationPackages() string

Jump to

Keyboard shortcuts

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