hnix-store/hnix-store-remote
2019-03-10 13:21:18 -04:00
..
app Merge branch 'add-to-store' of github.com:haskell-nix/hnix-store into add-to-store 2019-03-09 11:39:59 -05:00
src/System/Nix/Store Fix addToStore message encoding and do some cleanup 2019-03-10 10:29:17 -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