Skip to content

Commit 908bd0c

Browse files
committed
README.md: HNix REPL: rephrase
1 parent 7abc3c6 commit 908bd0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,16 @@ For simplicity alias the command in your shell.
199199

200200
## Using the HNix REPL
201201

202-
To enter in:
202+
Enter in:
203203
```
204204
hnix --repl
205205
```
206206

207-
To evaluate an expression and make it available in the REPL as the `input` variable use:
207+
Evaluate an expression:
208208
```
209209
hnix --eval -E '(import <nixpkgs> {}).pkgs.hello' --repl
210210
```
211+
This also binds the evaluated expression result to the `input` variable, so that variable can be inspected.
211212

212213
Use the `:help` command for a list of all available REPL commands.
213214

0 commit comments

Comments
 (0)