hnix-store/hnix-store-remote
2018-09-12 10:33:47 -04:00
..
app temp: add hnix-store-temporary-live-test 2018-07-17 11:15:21 +02:00
src/System/Nix/Store Merge branch 'cryptohash-sha256' into fewer-dependencies 2018-09-12 10:33:47 -04:00
hnix-store-remote.cabal Merge branch 'cryptohash-sha256' into fewer-dependencies 2018-09-12 10:33:47 -04: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

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