hnix-store/hnix-store-remote
2019-03-11 03:14:34 -04:00
..
app Remove value-level hash algorithms. 2019-03-10 19:07:17 -04:00
src/System/Nix/Store Rename HasDigest to ValidAlgo. 2019-03-11 03:14:34 -04:00
hnix-store-remote.cabal Merge remote-tracking branch 'origin/master' into add-to-store 2019-03-10 13:21:18 -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
shell.nix Local shell.nixes to make flycheck happy. 2019-03-09 19:04:11 -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