Documentation ¶
Index ¶
- type NB
- func (n *NB) BuildDependencies(deps []nix.Dependency) error
- func (n *NB) BuildEnvironment(deps []nix.Dependency, nixpkgs string) (_ []string, err error)
- func (n *NB) BuildNixDependencies(ag *bobfile.Bobfile, buildTasksInPipeline, runTasksInPipeline []string) (err error)
- func (n *NB) BuildNixDependenciesInPipeline(ag *bobfile.Bobfile, taskName string) (err error)
- func (n *NB) Clean() (err error)
- func (n *NB) CleanNixShellCache() (err error)
- func (n *NB) EnvStore() envutil.Store
- type NixOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NB ¶
type NB struct {
// contains filtered or unexported fields
}
NB acts as a wrapper for github.com/benchkram/bob/pkg/nix package and is used for building tasks dependencies
func (*NB) BuildDependencies ¶
func (n *NB) BuildDependencies(deps []nix.Dependency) error
BuildDependencies builds the list of all nix deps
func (*NB) BuildEnvironment ¶
BuildEnvironment builds the environment with all nix deps
func (*NB) BuildNixDependencies ¶
func (n *NB) BuildNixDependencies(ag *bobfile.Bobfile, buildTasksInPipeline, runTasksInPipeline []string) (err error)
BuildNixDependencies builds nix dependencies and prepares the affected tasks by setting the store paths on each task in the given aggregate.
func (*NB) BuildNixDependenciesInPipeline ¶
BuildNixDependenciesInPipeline collects and builds nix-dependencies for a pipeline starting at taskName.
func (*NB) CleanNixShellCache ¶
CleanNixShellCache removes all cached nix-shell --command='env' output
Click to show internal directories.
Click to hide internal directories.