Skip to content

Commit

Permalink
hnix-store-remote README: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
4z3 committed Mar 28, 2019
1 parent 6e4b72f commit 3a24d34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hnix-store-remote/README.md
Expand Up @@ -12,6 +12,7 @@ via `nix-daemon`.

```haskell

import Control.Monad.IO.Class (liftIO)
import Data.HashSet as HS
import System.Nix.Store.Remote

Expand All @@ -21,6 +22,6 @@ main = do
roots <- findRoots
liftIO $ print roots

res <- addTextToStore "hnix-store" "test" (HS.fromList []) False
print res
res <- addTextToStore "hnix-store" "test" (HS.fromList []) False
liftIO $ print res
```

0 comments on commit 3a24d34

Please sign in to comment.