Safe Haskell | None |
---|---|
Language | Haskell2010 |
System.Nix.Derivation
Synopsis
- parseDerivation :: StoreDir -> Parser (Derivation StorePath Text)
- buildDerivation :: StoreDir -> Derivation StorePath Text -> Builder
- data Derivation fp txt = Derivation {}
- data DerivationOutput fp txt = DerivationOutput {}
Documentation
parseDerivation :: StoreDir -> Parser (Derivation StorePath Text) Source #
buildDerivation :: StoreDir -> Derivation StorePath Text -> Builder Source #
data Derivation fp txt #
A Nix derivation
Constructors
Derivation | |
Fields
|
Instances
data DerivationOutput fp txt #
An output of a Nix derivation
Constructors
DerivationOutput | |
Instances
Bifunctor DerivationOutput | |||||
Defined in Nix.Derivation.Types Methods bimap :: (a -> b) -> (c -> d) -> DerivationOutput a c -> DerivationOutput b d # first :: (a -> b) -> DerivationOutput a c -> DerivationOutput b c # second :: (b -> c) -> DerivationOutput a b -> DerivationOutput a c # | |||||
Functor (DerivationOutput fp) | |||||
Defined in Nix.Derivation.Types Methods fmap :: (a -> b) -> DerivationOutput fp a -> DerivationOutput fp b # (<$) :: a -> DerivationOutput fp b -> DerivationOutput fp a # | |||||
Generic (DerivationOutput fp txt) | |||||
Defined in Nix.Derivation.Types Associated Types
Methods from :: DerivationOutput fp txt -> Rep (DerivationOutput fp txt) x # to :: Rep (DerivationOutput fp txt) x -> DerivationOutput fp txt # | |||||
(Show fp, Show txt) => Show (DerivationOutput fp txt) | |||||
Defined in Nix.Derivation.Types Methods showsPrec :: Int -> DerivationOutput fp txt -> ShowS # show :: DerivationOutput fp txt -> String # showList :: [DerivationOutput fp txt] -> ShowS # | |||||
(NFData a, NFData b) => NFData (DerivationOutput a b) | |||||
Defined in Nix.Derivation.Types Methods rnf :: DerivationOutput a b -> () # | |||||
(Eq fp, Eq txt) => Eq (DerivationOutput fp txt) | |||||
Defined in Nix.Derivation.Types Methods (==) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # (/=) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # | |||||
(Ord fp, Ord txt) => Ord (DerivationOutput fp txt) | |||||
Defined in Nix.Derivation.Types Methods compare :: DerivationOutput fp txt -> DerivationOutput fp txt -> Ordering # (<) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # (<=) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # (>) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # (>=) :: DerivationOutput fp txt -> DerivationOutput fp txt -> Bool # max :: DerivationOutput fp txt -> DerivationOutput fp txt -> DerivationOutput fp txt # min :: DerivationOutput fp txt -> DerivationOutput fp txt -> DerivationOutput fp txt # | |||||
type Rep (DerivationOutput fp txt) | |||||
Defined in Nix.Derivation.Types type Rep (DerivationOutput fp txt) = D1 ('MetaData "DerivationOutput" "Nix.Derivation.Types" "nix-derivation-1.1.3-BiRdjiRiwiT9zOb732wTFm" 'False) (C1 ('MetaCons "DerivationOutput" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 fp) :*: (S1 ('MetaSel ('Just "hashAlgo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 txt) :*: S1 ('MetaSel ('Just "hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 txt)))) |