hnix-store-remote: Remote hnix store

[ apache, library, nix ] [ Propose Tags ]

Implementation of the nix store using the daemon protocol.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.3.1, 0.5.0.0, 0.6.0.0
Dependencies base (>=4.10 && <5), base64-bytestring, binary, bytestring, containers, hnix-store-core, hnix-store-remote, mtl, network, pretty-simple, text, unix, unordered-containers [details]
License Apache-2.0
Copyright 2018 Richard Marko
Author Richard Marko
Maintainer srk@48.io
Category System
Home page https://github.com/haskell-nix/hnix-store
Uploaded by shlevy at 2019-03-18T21:22:41Z
Distributions NixOS:0.6.0.0
Reverse Dependencies 1 direct, 10 indirect [details]
Executables hnix-store-temporary-live-test
Downloads 2885 total (56 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-03-18 [all 1 reports]

Readme for hnix-store-remote-0.1.0.0

[back to package description]

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