hnix-store-core-0.8.0.0: Core types used for interacting with the Nix store.
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Nix.Realisation

Description

 
Synopsis

Documentation

data DerivationOutput a Source #

Output of the derivation

Constructors

DerivationOutput 

Fields

Instances

Instances details
Generic (DerivationOutput a) Source # 
Instance details

Defined in System.Nix.Realisation

Associated Types

type Rep (DerivationOutput a) :: Type -> Type #

Show a => Show (DerivationOutput a) Source # 
Instance details

Defined in System.Nix.Realisation

Eq a => Eq (DerivationOutput a) Source # 
Instance details

Defined in System.Nix.Realisation

Ord a => Ord (DerivationOutput a) Source # 
Instance details

Defined in System.Nix.Realisation

type Rep (DerivationOutput a) Source # 
Instance details

Defined in System.Nix.Realisation

type Rep (DerivationOutput a) = D1 ('MetaData "DerivationOutput" "System.Nix.Realisation" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'False) (C1 ('MetaCons "DerivationOutput" 'PrefixI 'True) (S1 ('MetaSel ('Just "derivationOutputHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DSum HashAlgo Digest)) :*: S1 ('MetaSel ('Just "derivationOutputOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

derivationOutputBuilder :: (outputName -> Text) -> DerivationOutput outputName -> Builder 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

Constructors

Realisation 

Fields

Instances

Instances details
Generic Realisation Source # 
Instance details

Defined in System.Nix.Realisation

Associated Types

type Rep Realisation :: Type -> Type #

Show Realisation Source # 
Instance details

Defined in System.Nix.Realisation

Eq Realisation Source # 
Instance details

Defined in System.Nix.Realisation

Ord Realisation Source # 
Instance details

Defined in System.Nix.Realisation

type Rep Realisation Source # 
Instance details

Defined in System.Nix.Realisation

type Rep Realisation = D1 ('MetaData "Realisation" "System.Nix.Realisation" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'False) (C1 ('MetaCons "Realisation" 'PrefixI 'True) (S1 ('MetaSel ('Just "realisationOutPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StorePath) :*: (S1 ('MetaSel ('Just "realisationSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Signature)) :*: S1 ('MetaSel ('Just "realisationDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map (DerivationOutput OutputName) StorePath)))))

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

Instances

Instances details
Generic RealisationWithId Source # 
Instance details

Defined in System.Nix.Realisation

Associated Types

type Rep RealisationWithId :: Type -> Type #

Show RealisationWithId Source # 
Instance details

Defined in System.Nix.Realisation

Eq RealisationWithId Source # 
Instance details

Defined in System.Nix.Realisation

Ord RealisationWithId Source # 
Instance details

Defined in System.Nix.Realisation

type Rep RealisationWithId Source # 
Instance details

Defined in System.Nix.Realisation

type Rep RealisationWithId = D1 ('MetaData "RealisationWithId" "System.Nix.Realisation" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'True) (C1 ('MetaCons "RealisationWithId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRealisationWithId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DerivationOutput OutputName, Realisation))))