We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7abc3c6 commit 908bd0cCopy full SHA for 908bd0c
README.md
@@ -199,15 +199,16 @@ For simplicity alias the command in your shell.
199
200
## Using the HNix REPL
201
202
-To enter in:
+Enter in:
203
```
204
hnix --repl
205
206
207
-To evaluate an expression and make it available in the REPL as the `input` variable use:
+Evaluate an expression:
208
209
hnix --eval -E '(import <nixpkgs> {}).pkgs.hello' --repl
210
211
+This also binds the evaluated expression result to the `input` variable, so that variable can be inspected.
212
213
Use the `:help` command for a list of all available REPL commands.
214
0 commit comments