Skip to content

Commit da9b46c

Browse files
committed
core: add some haddocks to OutputSpec, DerivedPath
1 parent 3576273 commit da9b46c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hnix-store-core/src/System/Nix/DerivedPath.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,17 @@ import qualified System.Nix.StorePath
2525

2626
data OutputsSpec =
2727
OutputsSpec_All
28+
-- ^ Wildcard spec (!*) meaning all outputs
2829
| OutputsSpec_Names (Set OutputName)
30+
-- ^ Set of specific outputs
2931
deriving (Eq, Generic, Ord, Show)
3032

3133
data DerivedPath =
3234
DerivedPath_Opaque StorePath
35+
-- ^ Fully evaluated store path that can't be built
36+
-- but can be fetched
3337
| DerivedPath_Built StorePath OutputsSpec
38+
-- ^ Derivation path and the outputs built from it
3439
deriving (Eq, Generic, Ord, Show)
3540

3641
data ParseOutputsError =

0 commit comments

Comments
 (0)