mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-02 09:13:12 +03:00
hnix-store-remote README: fix example
This commit is contained in:
parent
6e4b72f021
commit
3a24d3423b
@ -12,6 +12,7 @@ via `nix-daemon`.
|
||||
|
||||
```haskell
|
||||
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
import Data.HashSet as HS
|
||||
import System.Nix.Store.Remote
|
||||
|
||||
@ -22,5 +23,5 @@ main = do
|
||||
liftIO $ print roots
|
||||
|
||||
res <- addTextToStore "hnix-store" "test" (HS.fromList []) False
|
||||
print res
|
||||
liftIO $ print res
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user