mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-09-11 18:05:56 +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 =
|
||||
OutputsSpec_All
|
||||
-- ^ Wildcard spec (!*) meaning all outputs
|
||||
| OutputsSpec_Names (Set OutputName)
|
||||
-- ^ Set of specific outputs
|
||||
deriving (Eq, Generic, Ord, Show)
|
||||
|
||||
data DerivedPath =
|
||||
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
|
||||
deriving (Eq, Generic, Ord, Show)
|
||||
|
||||
data ParseOutputsError =
|
||||
|
Loading…
Reference in New Issue
Block a user