hnix-store/hnix-store-remote
Anton Latukha 5d03ffc43c
Declare tasty-discover a testing build tool (#130)
This properly fixes the use of the tasty-discover,
the report & info were sent upstream to fix it in docs:
https://github.com/haskell-works/tasty-discover/issues/4.
Closes: #129
2021-01-19 13:08:32 +02:00
..
src/System/Nix/Store remote: re-export System.Nix.Store.Remote.Types from Remote 2021-01-14 14:47:17 +01:00
tests Remote: deps: use directory (#120) 2021-01-15 02:31:33 +02:00
.envrc Lorri + direnv. 2019-03-19 20:52:25 -04:00
cabal.project cabal: rm cryptohash-sha512 override 2021-01-09 21:14:15 +02:00
ChangeLog.md Next changelog sections 2021-01-16 10:24:59 +01:00
hnix-store-remote.cabal Declare tasty-discover a testing build tool (#130) 2021-01-19 13:08:32 +02:00
LICENSE hnix-store-remote prototype 2018-07-16 09:12:23 +02:00
README.md README tweaks and pruning 2020-12-30 14:46:26 +01: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 Control.Monad.IO.Class (liftIO)
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
    liftIO $ print res