hnix-store/hnix-store-remote
2018-12-28 11:00:31 -05:00
..
app temp: add hnix-store-temporary-live-test 2018-07-17 11:15:21 +02:00
src/System/Nix/Store Remove cryptonite, foundation, basement and memory from all packages 2018-09-30 19:05:10 -04:00
hnix-store-remote.cabal add nix expressions for building hnix-store-* 2018-12-28 11:00:31 -05:00
LICENSE hnix-store-remote prototype 2018-07-16 09:12:23 +02:00
README.md hnix-store-remote prototype 2018-07-16 09:12:23 +02:00
shell.nix add nix expressions for building hnix-store-* 2018-12-28 11:00:31 -05:00

hnix-store-remote

Nix worker protocol implementation for interacting with remote Nix store via nix-daemon.

API

Example


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
    print res