| Copyright | Profpatsch 2018 |
|---|---|
| License | GPL-3 |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Foreign.Nix.Shellout.Types
Description
Synopsis
- newtype NixAction e a = NixAction {
- unNixAction :: ExceptT (Text, e) IO a
- runNixAction :: NixAction e a -> IO (Either (Text, e) a)
- newtype StorePath a = StorePath {}
- data Derivation
- data Realized
Documentation
newtype NixAction e a Source #
Calls a command that returns an error and the whole stderr on failure.
Constructors
| NixAction | |
Fields
| |
A path in the nix store. It carries a phantom a to differentiate
between Derivation files and Realized paths.
Constructors
| StorePath | |
Fields | |
data Derivation Source #
A nix derivation is a complete build instruction that can be realized.