Safe Haskell | None |
---|---|
Language | Haskell2010 |
System.Nix.DerivedPath
Documentation
data OutputsSpec Source #
Constructors
OutputsSpec_All | Wildcard spec (^*) meaning all outputs |
OutputsSpec_Names (Set OutputName) | Set of specific outputs |
Instances
data DerivedPath Source #
Constructors
DerivedPath_Opaque StorePath | Fully evaluated store path that can't be built but can be fetched |
DerivedPath_Built StorePath OutputsSpec | Derivation path and the outputs built from it |
Instances
Generic DerivedPath Source # | |||||
Defined in System.Nix.DerivedPath Associated Types
| |||||
Show DerivedPath Source # | |||||
Defined in System.Nix.DerivedPath Methods showsPrec :: Int -> DerivedPath -> ShowS # show :: DerivedPath -> String # showList :: [DerivedPath] -> ShowS # | |||||
Eq DerivedPath Source # | |||||
Defined in System.Nix.DerivedPath | |||||
Ord DerivedPath Source # | |||||
Defined in System.Nix.DerivedPath Methods compare :: DerivedPath -> DerivedPath -> Ordering # (<) :: DerivedPath -> DerivedPath -> Bool # (<=) :: DerivedPath -> DerivedPath -> Bool # (>) :: DerivedPath -> DerivedPath -> Bool # (>=) :: DerivedPath -> DerivedPath -> Bool # max :: DerivedPath -> DerivedPath -> DerivedPath # min :: DerivedPath -> DerivedPath -> DerivedPath # | |||||
type Rep DerivedPath Source # | |||||
Defined in System.Nix.DerivedPath type Rep DerivedPath = D1 ('MetaData "DerivedPath" "System.Nix.DerivedPath" "hnix-store-core-0.8.0.0-FTqw4iIy5sQBH9BMZeLljI" 'False) (C1 ('MetaCons "DerivedPath_Opaque" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StorePath)) :+: C1 ('MetaCons "DerivedPath_Built" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StorePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OutputsSpec))) |
data ParseOutputsError Source #
Constructors
ParseOutputsError_InvalidPath InvalidPathError | |
ParseOutputsError_InvalidName InvalidNameError | |
ParseOutputsError_NoNames | |
ParseOutputsError_NoPrefix StoreDir Text |
Instances
Show ParseOutputsError Source # | |
Defined in System.Nix.DerivedPath Methods showsPrec :: Int -> ParseOutputsError -> ShowS # show :: ParseOutputsError -> String # showList :: [ParseOutputsError] -> ShowS # | |
Eq ParseOutputsError Source # | |
Defined in System.Nix.DerivedPath Methods (==) :: ParseOutputsError -> ParseOutputsError -> Bool # (/=) :: ParseOutputsError -> ParseOutputsError -> Bool # | |
Ord ParseOutputsError Source # | |
Defined in System.Nix.DerivedPath Methods compare :: ParseOutputsError -> ParseOutputsError -> Ordering # (<) :: ParseOutputsError -> ParseOutputsError -> Bool # (<=) :: ParseOutputsError -> ParseOutputsError -> Bool # (>) :: ParseOutputsError -> ParseOutputsError -> Bool # (>=) :: ParseOutputsError -> ParseOutputsError -> Bool # max :: ParseOutputsError -> ParseOutputsError -> ParseOutputsError # min :: ParseOutputsError -> ParseOutputsError -> ParseOutputsError # |
outputsSpecToText :: OutputsSpec -> Text Source #
derivedPathToText :: StoreDir -> DerivedPath -> Text Source #