Skip to content

Commit c86c4f7

Browse files
authored
Merge pull request #45 from 4z3/patch-1
hnix-store-remote README: fix example
2 parents 6e4b72f + 3a24d34 commit c86c4f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hnix-store-remote/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ via `nix-daemon`.
1212

1313
```haskell
1414

15+
import Control.Monad.IO.Class (liftIO)
1516
import Data.HashSet as HS
1617
import System.Nix.Store.Remote
1718

@@ -21,6 +22,6 @@ main = do
2122
roots <- findRoots
2223
liftIO $ print roots
2324

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

0 commit comments

Comments
 (0)