hnix-store-core-0.8.0.0: Core types used for interacting with the Nix store.
Maintainersrk <srk@48.io>
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Nix.Build

Description

|

Synopsis

Documentation

data BuildMode Source #

Mode of the build operation Keep the order of these Enums to match enums from reference implementations srclibstorestore-api.hh

Constructors

BuildMode_Normal

Perform normal build

BuildMode_Repair

Try to repair corrupted or missing paths by re-building or re-downloading them

BuildMode_Check

Check if the build is reproducible (rebuild and compare to previous build)

Instances

Instances details
Bounded BuildMode Source # 
Instance details

Defined in System.Nix.Build

Enum BuildMode Source # 
Instance details

Defined in System.Nix.Build

Generic BuildMode Source # 
Instance details

Defined in System.Nix.Build

Associated Types

type Rep BuildMode :: Type -> Type #

Show BuildMode Source # 
Instance details

Defined in System.Nix.Build

Eq BuildMode Source # 
Instance details

Defined in System.Nix.Build

Ord BuildMode Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildMode Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildMode = D1 ('MetaData "BuildMode" "System.Nix.Build" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'False) (C1 ('MetaCons "BuildMode_Normal" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BuildMode_Repair" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildMode_Check" 'PrefixI 'False) (U1 :: Type -> Type)))

data BuildStatus Source #

Build result status

Instances

Instances details
Bounded BuildStatus Source # 
Instance details

Defined in System.Nix.Build

Enum BuildStatus Source # 
Instance details

Defined in System.Nix.Build

Generic BuildStatus Source # 
Instance details

Defined in System.Nix.Build

Associated Types

type Rep BuildStatus :: Type -> Type #

Show BuildStatus Source # 
Instance details

Defined in System.Nix.Build

Eq BuildStatus Source # 
Instance details

Defined in System.Nix.Build

Ord BuildStatus Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildStatus Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildStatus = D1 ('MetaData "BuildStatus" "System.Nix.Build" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'False) (((C1 ('MetaCons "BuildStatus_Built" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BuildStatus_Substituted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_AlreadyValid" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "BuildStatus_PermanentFailure" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_InputRejected" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BuildStatus_OutputRejected" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_TransientFailure" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "BuildStatus_CachedFailure" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_TimedOut" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BuildStatus_MiscFailure" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_DependencyFailed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "BuildStatus_LogLimitExceeded" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_NotDeterministic" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BuildStatus_ResolvesToAlreadyValid" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BuildStatus_NoSubstituters" 'PrefixI 'False) (U1 :: Type -> Type)))))

data BuildResult Source #

Result of the build

Constructors

BuildResult 

Fields

Instances

Instances details
Generic BuildResult Source # 
Instance details

Defined in System.Nix.Build

Associated Types

type Rep BuildResult :: Type -> Type #

Show BuildResult Source # 
Instance details

Defined in System.Nix.Build

Eq BuildResult Source # 
Instance details

Defined in System.Nix.Build

Ord BuildResult Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildResult Source # 
Instance details

Defined in System.Nix.Build

type Rep BuildResult = D1 ('MetaData "BuildResult" "System.Nix.Build" "hnix-store-core-0.8.0.0-2YQUX8JlMxk93e1fw1Y66G" 'False) (C1 ('MetaCons "BuildResult" 'PrefixI 'True) ((S1 ('MetaSel ('Just "buildResultStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuildStatus) :*: (S1 ('MetaSel ('Just "buildResultErrorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "buildResultTimesBuilt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "buildResultIsNonDeterministic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "buildResultStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime))) :*: (S1 ('MetaSel ('Just "buildResultStopTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "buildResultBuiltOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map (DerivationOutput OutputName) Realisation)))))))