mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-13 15:46:26 +03:00
505 B
505 B
hnix-store-remote
Nix worker protocol implementation for interacting with remote Nix store
via nix-daemon
.
API
Example
import Control.Monad.IO.Class (liftIO)
import Data.HashSet as HS
import System.Nix.Store.Remote
main = do
runStore $ do
syncWithGC
roots <- findRoots
liftIO $ print roots
res <- addTextToStore "hnix-store" "test" (HS.fromList []) False
liftIO $ print res