Maintainer | srk <srk@48.io> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
|
Synopsis
- data BuildMode
- data BuildStatus
- = BuildStatus_Built
- | BuildStatus_Substituted
- | BuildStatus_AlreadyValid
- | BuildStatus_PermanentFailure
- | BuildStatus_InputRejected
- | BuildStatus_OutputRejected
- | BuildStatus_TransientFailure
- | BuildStatus_CachedFailure
- | BuildStatus_TimedOut
- | BuildStatus_MiscFailure
- | BuildStatus_DependencyFailed
- | BuildStatus_LogLimitExceeded
- | BuildStatus_NotDeterministic
- | BuildStatus_ResolvesToAlreadyValid
- | BuildStatus_NoSubstituters
- buildSuccess :: BuildStatus -> Bool
- data BuildResult = BuildResult {}
Documentation
Mode of the build operation Keep the order of these Enums to match enums from reference implementations srclibstorestore-api.hh
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
Bounded BuildMode Source # | |
Enum BuildMode Source # | |
Defined in System.Nix.Build succ :: BuildMode -> BuildMode # pred :: BuildMode -> BuildMode # fromEnum :: BuildMode -> Int # enumFrom :: BuildMode -> [BuildMode] # enumFromThen :: BuildMode -> BuildMode -> [BuildMode] # enumFromTo :: BuildMode -> BuildMode -> [BuildMode] # enumFromThenTo :: BuildMode -> BuildMode -> BuildMode -> [BuildMode] # | |
Generic BuildMode Source # | |
Show BuildMode Source # | |
Eq BuildMode Source # | |
Ord BuildMode Source # | |
Defined in System.Nix.Build | |
type Rep BuildMode Source # | |
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
BuildStatus_Built | Build performed successfully |
BuildStatus_Substituted | Path substituted from cache |
BuildStatus_AlreadyValid | Path is already valid (available in local store) |
BuildStatus_PermanentFailure | |
BuildStatus_InputRejected | |
BuildStatus_OutputRejected | |
BuildStatus_TransientFailure | Possibly transient build failure |
BuildStatus_CachedFailure | Obsolete |
BuildStatus_TimedOut | Build timed out |
BuildStatus_MiscFailure | |
BuildStatus_DependencyFailed | Build dependency failed to build |
BuildStatus_LogLimitExceeded | |
BuildStatus_NotDeterministic | |
BuildStatus_ResolvesToAlreadyValid | |
BuildStatus_NoSubstituters |
Instances
buildSuccess :: BuildStatus -> Bool Source #
data BuildResult Source #
Result of the build
BuildResult | |
|