Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data DerivationOutput a = DerivationOutput {}
- data DerivationOutputError
- derivationOutputBuilder :: (outputName -> Text) -> DerivationOutput outputName -> Builder
- derivationOutputParser :: (Text -> Either InvalidNameError outputName) -> Text -> Either DerivationOutputError (DerivationOutput outputName)
- data Realisation = Realisation {}
- newtype RealisationWithId = RealisationWithId {}
Documentation
data DerivationOutput a Source #
Output of the derivation
DerivationOutput | |
|
Instances
data DerivationOutputError Source #
DerivationOutputError_Digest String | |
DerivationOutputError_Name InvalidNameError | |
DerivationOutputError_NoExclamationMark | |
DerivationOutputError_NoColon | |
DerivationOutputError_TooManyParts [Text] |
Instances
Show DerivationOutputError Source # | |
Defined in System.Nix.Realisation showsPrec :: Int -> DerivationOutputError -> ShowS # show :: DerivationOutputError -> String # showList :: [DerivationOutputError] -> ShowS # | |
Eq DerivationOutputError Source # | |
Defined in System.Nix.Realisation (==) :: DerivationOutputError -> DerivationOutputError -> Bool # (/=) :: DerivationOutputError -> DerivationOutputError -> Bool # | |
Ord DerivationOutputError Source # | |
Defined in System.Nix.Realisation compare :: DerivationOutputError -> DerivationOutputError -> Ordering # (<) :: DerivationOutputError -> DerivationOutputError -> Bool # (<=) :: DerivationOutputError -> DerivationOutputError -> Bool # (>) :: DerivationOutputError -> DerivationOutputError -> Bool # (>=) :: DerivationOutputError -> DerivationOutputError -> Bool # max :: DerivationOutputError -> DerivationOutputError -> DerivationOutputError # min :: DerivationOutputError -> DerivationOutputError -> DerivationOutputError # |
derivationOutputBuilder :: (outputName -> Text) -> DerivationOutput outputName -> Builder Source #
derivationOutputParser :: (Text -> Either InvalidNameError outputName) -> Text -> Either DerivationOutputError (DerivationOutput outputName) Source #
data Realisation Source #
Build realisation context
realisationId is ommited since it is a key
of type DerivationOutput OutputName
so
we will use RealisationWithId
newtype
Realisation | |
|
Instances
newtype RealisationWithId Source #
For wire protocol
We store this normalized in Build.buildResultBuiltOutputs
as Map (DerivationOutput OutputName) Realisation
but wire protocol needs it de-normalized so we
need a special (From|To)JSON instances for it