John Wiegley
94e0be3882
Reformat all sources with Brittany, to restore consistency
2019-03-17 14:47:38 -07:00
John Wiegley
705d7c474d
Add --scopes option to print out scoping information
2018-08-04 14:40:04 -04:00
John Wiegley
b186e44174
--force was a needless duplicate of --strict
2018-05-09 13:52:34 -07:00
John Wiegley
ba0dc19d2d
Work from mightybyte: Minimize deps required, for building with GHCJS
2018-05-08 16:41:15 -07:00
hsloan
c1561ea711
Implement builtins.currentTime
2018-05-02 21:32:00 -07:00
John Wiegley
b8307d2fb5
Initial version of the attribute finder, still needs tweaking
...
```
hnix -I nix=$PWD/data/nix/corepkgs --find \
--eval --expr "import $HOME/src/nix/nixpkgs {}" \
-A pkgs.haskellPackages
```
2018-04-30 21:48:45 -04:00
John Wiegley
defc5ed66d
Add a new --values option for selectively displaying value provenance
2018-04-25 20:49:16 -07:00
John Wiegley
05ca87a732
Several improvements to error reporting; add new --thunks option
2018-04-25 13:00:41 -07:00
John Wiegley
9864a8c7a5
Rework the way that info frames and error are handled
...
There is still work to be done to render the new "typed frames", and to
convert all the current string based frame into typed frames. This will pave
the way forward to smarter error messages that can be browsed in intelligent
environments like Emacs and the browser.
2018-04-24 02:15:28 -07:00
John Wiegley
86b09103d6
Move production of a reduced test case to --reduce, improve --trace
2018-04-20 22:36:40 -07:00
John Wiegley
2c80225241
Add a new --trace option, separate from verbosity levels
2018-04-18 23:20:58 -07:00
John Wiegley
dfe9869472
Add new option --force, which forces evaluation results to normal form
2018-04-17 18:12:19 -07:00
John Wiegley
c3f34e62ce
Use verbosity to control how much is displayed in error messages
2018-04-17 17:25:59 -07:00
John Wiegley
8d25aa461d
Add --json option to hnix, which can render both expressions and values
2018-04-17 14:24:52 -07:00
John Wiegley
14bc5360f4
More work on supporting -I and completing env paths
2018-04-13 00:34:49 -07:00
John Wiegley
99189e9536
The basic REPL now works; doesn't allow establishing definitions yet
2018-04-12 16:46:34 -07:00
John Wiegley
9a089712aa
Create new __includes builtin, set by --include/-I
2018-04-11 22:02:31 -07:00
John Wiegley
371380c98f
Add support for the --attr/-A option
2018-04-11 21:31:48 -07:00
John Wiegley
96df58fb29
Split off command-line options processing into a new Nix.Options module
2018-04-11 20:53:38 -07:00