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

Safe HaskellNone
LanguageHaskell98

Nix.Delegate

Contents

Description

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

Synopsis

Options

data OptArgs Source #

delegate options

Constructors

OptArgs 

Fields

Instances

data Command Source #

Command to run

Constructors

Command Text [Text] 

Instances

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