From da9b46cdc331bd37595f9a4a653b6b88a59cf2e1 Mon Sep 17 00:00:00 2001 From: sorki Date: Fri, 8 Dec 2023 13:16:34 +0100 Subject: [PATCH] core: add some haddocks to OutputSpec, DerivedPath --- hnix-store-core/src/System/Nix/DerivedPath.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hnix-store-core/src/System/Nix/DerivedPath.hs b/hnix-store-core/src/System/Nix/DerivedPath.hs index c53831f..2cfbdd0 100644 --- a/hnix-store-core/src/System/Nix/DerivedPath.hs +++ b/hnix-store-core/src/System/Nix/DerivedPath.hs @@ -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 =