mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-10-26 21:56:29 +03:00
core: add some haddocks to OutputSpec, DerivedPath
This commit is contained in:
parent
3576273c8a
commit
da9b46cdc3
@ -25,12 +25,17 @@ import qualified System.Nix.StorePath
|
|||||||
|
|
||||||
data OutputsSpec =
|
data OutputsSpec =
|
||||||
OutputsSpec_All
|
OutputsSpec_All
|
||||||
|
-- ^ Wildcard spec (!*) meaning all outputs
|
||||||
| OutputsSpec_Names (Set OutputName)
|
| OutputsSpec_Names (Set OutputName)
|
||||||
|
-- ^ Set of specific outputs
|
||||||
deriving (Eq, Generic, Ord, Show)
|
deriving (Eq, Generic, Ord, Show)
|
||||||
|
|
||||||
data DerivedPath =
|
data DerivedPath =
|
||||||
DerivedPath_Opaque StorePath
|
DerivedPath_Opaque StorePath
|
||||||
|
-- ^ Fully evaluated store path that can't be built
|
||||||
|
-- but can be fetched
|
||||||
| DerivedPath_Built StorePath OutputsSpec
|
| DerivedPath_Built StorePath OutputsSpec
|
||||||
|
-- ^ Derivation path and the outputs built from it
|
||||||
deriving (Eq, Generic, Ord, Show)
|
deriving (Eq, Generic, Ord, Show)
|
||||||
|
|
||||||
data ParseOutputsError =
|
data ParseOutputsError =
|
||||||
|
Loading…
Reference in New Issue
Block a user