nix-delegate-1.0.1: Convenient utility for distributed Nix builds

Safe HaskellNone
LanguageHaskell98

Nix.Delegate

Contents

Description

This module provides a basic library API to nix-delegate's functionality

Synopsis

Options

data OptArgs Source #

delegate options

Constructors

OptArgs 

Fields

Instances
Show OptArgs Source # 
Instance details

Defined in Nix.Delegate

data Command Source #

Command to run

Constructors

Command Text [Text] 
Instances
Show Command Source # 
Instance details

Defined in Nix.Delegate

data OperatingSystem Source #

Operating system

Commands

delegate :: OptArgs -> IO () Source #

Run a command with distributed builds transiently enabled

This version outputs a helpful error message if the command fails

delegateStream :: OptArgs -> Shell Line Source #

Run a command with distributed builds transiently enabled

This version captures the output as a stream

main :: IO () Source #

main used by the delegate executable