Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-09 | printValue: Don't show lists/attribute sets twice | Eelco Dolstra | 1 | -6/+26 | |
2013-09-07 | Improved value display | Eelco Dolstra | 1 | -2/+116 | |
By default, we don't recurse into attribute sets or lists when printing a value. However, the new :p command does recurse. | |||||
2013-09-06 | Restore affinity | Eelco Dolstra | 1 | -7/+26 | |
2013-09-06 | Add basic variable name completion | Eelco Dolstra | 1 | -42/+87 | |
2013-09-06 | Load files specified on the command line | Eelco Dolstra | 1 | -12/+24 | |
For example: $ nix-repl '<nixpkgs>' '<nixos>' Welcome to Nix version 1.6pre3215_2c1ecf8. Type :? for help. Loading ‘<nixpkgs>’... Added 3337 variables. Loading ‘<nixos>’... Added 7 variables. nix-repl> | |||||
2013-09-06 | Add a command :s to start a nix-shell for a derivation | Eelco Dolstra | 1 | -13/+21 | |
2013-09-06 | Add a command :b to build a derivation | Eelco Dolstra | 1 | -5/+26 | |
2013-09-06 | Don't exit on SIGINT during evaluation | Eelco Dolstra | 1 | -0/+3 | |
However, this may leave thunks in black-holed state, so it's not really safe. | |||||
2013-09-06 | Use readline history file | Eelco Dolstra | 1 | -1/+7 | |
2013-09-06 | Handle SIGINT to cancel the current line | Eelco Dolstra | 1 | -5/+37 | |
2013-09-02 | Add a command :l for loading a file into scope | Eelco Dolstra | 1 | -10/+33 | |
Example: nix-repl> :l <nixpkgs> nix-repl> lib.range 0 10 [ 0 1 2 3 4 5 6 7 8 9 10 ] nix-repl> :l <nixos> nix-repl> config.boot.kernelModules [ "vboxdrv" "vboxnetadp" ... ] | |||||
2013-09-02 | Add a command :t for showing the type of an expression | Eelco Dolstra | 1 | -4/+17 | |
2013-09-02 | Support adding variables to the scope | Eelco Dolstra | 1 | -9/+86 | |
The command ":a <expr>" evaluates <expr> and adds the attributes in the resulting attribute set to the interpreter scope. For instance: nix-repl> :a import <nixpkgs> {} nix-repl> lib.range 0 10 [ 0 1 2 3 4 5 6 7 8 9 10 ] | |||||
2013-09-02 | Initial version of nix-repl | Eelco Dolstra | 1 | -0/+57 | |
This program interactively reads a Nix expression from the user, evaluates it, and prints the result. |