Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Nix.Diff.Store
Description
A crude implementation of the Nix store concept.
For anything fancier than this, it would be best to use FFI bindings instead, such as hercules-ci-cnix-store.
Documentation
A file path that may not exist on the true file system; needs to be looked up in a store, which may be relocated.
Unlike the (C++) Nix StorePath type, subpaths are allowed.
Constructors
StorePath | |
Fields
|
Instances
Arbitrary StorePath Source # | |
FromJSON StorePath Source # | |
Defined in Nix.Diff.Store | |
FromJSONKey StorePath Source # | |
Defined in Nix.Diff.Store Methods | |
ToJSON StorePath Source # | |
ToJSONKey StorePath Source # | |
Defined in Nix.Diff.Store | |
Data StorePath Source # | |
Defined in Nix.Diff.Store Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StorePath -> c StorePath # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StorePath # toConstr :: StorePath -> Constr # dataTypeOf :: StorePath -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StorePath) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StorePath) # gmapT :: (forall b. Data b => b -> b) -> StorePath -> StorePath # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StorePath -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StorePath -> r # gmapQ :: (forall d. Data d => d -> u) -> StorePath -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> StorePath -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> StorePath -> m StorePath # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StorePath -> m StorePath # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StorePath -> m StorePath # | |
Show StorePath Source # | |
Eq StorePath Source # | |
Ord StorePath Source # | |
Data (DerivationOutput StorePath Text) Source # | |
Defined in Nix.Diff.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DerivationOutput StorePath Text -> c (DerivationOutput StorePath Text) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (DerivationOutput StorePath Text) # toConstr :: DerivationOutput StorePath Text -> Constr # dataTypeOf :: DerivationOutput StorePath Text -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (DerivationOutput StorePath Text)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (DerivationOutput StorePath Text)) # gmapT :: (forall b. Data b => b -> b) -> DerivationOutput StorePath Text -> DerivationOutput StorePath Text # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DerivationOutput StorePath Text -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DerivationOutput StorePath Text -> r # gmapQ :: (forall d. Data d => d -> u) -> DerivationOutput StorePath Text -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DerivationOutput StorePath Text -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DerivationOutput StorePath Text -> m (DerivationOutput StorePath Text) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationOutput StorePath Text -> m (DerivationOutput StorePath Text) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DerivationOutput StorePath Text -> m (DerivationOutput StorePath Text) # |