We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b341c commit 5a8d6d3Copy full SHA for 5a8d6d3
hnix-store-remote/README.md
@@ -11,17 +11,10 @@ via `nix-daemon`.
11
## Example
12
13
```haskell
14
-
15
-import Control.Monad.IO.Class (liftIO)
16
-import Data.HashSet as HS
17
import System.Nix.Store.Remote
18
19
-main = do
20
- runStore $ do
+main =
+ runStore_ $ do
21
syncWithGC
22
- roots <- findRoots
23
- liftIO $ print roots
24
25
- res <- addTextToStore "hnix-store" "test" (HS.fromList []) False
26
- liftIO $ print res
+ optimiseStore
27
```
0 commit comments