hnix-store-remote README: fix example

This commit is contained in:
tv 2019-03-28 21:32:31 +01:00 committed by GitHub
parent 6e4b72f021
commit 3a24d3423b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ via `nix-daemon`.
```haskell
import Control.Monad.IO.Class (liftIO)
import Data.HashSet as HS
import System.Nix.Store.Remote
@ -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
```