hnix-store-remote-0.7.0.0: Remote hnix store
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Nix.Store.Remote.Server

Synopsis

Documentation

runProxyDaemon :: forall m a. (MonadIO m, MonadConc m) => WorkerHelper m -> RemoteStoreT m () -> Socket -> m a -> m a Source #

Run an emulated nix daemon on given socket address. The deamon will close when the continuation returns.

type WorkerHelper m = forall a. (Show a, StoreReply a) => RemoteStoreT m a -> Run m a Source #