hnix-store/hnix-store-remote
2019-03-09 19:04:11 -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 Build expressions. 2019-03-09 18:32:01 -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 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