Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-17 | nix eval: Take only one argument | Eelco Dolstra | |
Thus --json no longer produces a list. | |||
2017-11-20 | nix eval --raw: Use coerceToString() | Eelco Dolstra | |
Thus, $ nix eval --raw '("foo")' foo $ nix eval --raw nixpkgs.hello /nix/store/1y6ckg6khrdsvll54s5spcmf3w6ka9k4-hello-2.10 $ nix eval --raw '(/etc/resolv.conf)' /nix/store/vml92ama92i8mz013nny461mlvg8mvap-resolv.conf | |||
2017-09-07 | nix eval: Add examples | Eelco Dolstra | |
2017-05-03 | nix eval: Add a --raw flag | Eelco Dolstra | |
Similar to "jq -r", this prints the evaluation result (which must be a string value) unquoted. | |||
2017-04-25 | Move code around | Eelco Dolstra | |
2017-04-25 | Add "nix eval" command | Eelco Dolstra | |
This replaces "nix-instantiate --eval". The result is evaluated strictly since this seems more useful. |