about summary refs log tree commit diff
path: root/tvix/eval/src/eval.rs
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-11-25T22·47-0800
committerclbot <clbot@tvl.fyi>2022-11-26T21·20+0000
commitb5a1b965a6892d35b06ab315a531c718e02cd267 (patch)
tree9043d0e73b74c81d7160ff5dec5b1aa69ee104d9 /tvix/eval/src/eval.rs
parent56c00df71036a3560a5f710f527fe7ece54eb665 (diff)
feat(tvix/eval): add --raw flag to eval, like cppnix r/5341
Signed-off-by: Adam Joseph <adam@westernsemico.com>
Change-Id: If07250a45fdf65a3f22ed8c37d7f37b45edccde9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7416
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/eval.rs')
-rw-r--r--tvix/eval/src/eval.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/eval/src/eval.rs b/tvix/eval/src/eval.rs
index 6a35630b3f..bfd827e2ca 100644
--- a/tvix/eval/src/eval.rs
+++ b/tvix/eval/src/eval.rs
@@ -36,6 +36,9 @@ pub struct Options {
     /// A colon-separated list of directories to use to resolve `<...>`-style paths
     #[cfg_attr(feature = "repl", clap(long, short = 'I', env = "NIX_PATH"))]
     nix_search_path: Option<NixSearchPath>,
+
+    #[cfg_attr(feature = "repl", clap(long))]
+    pub raw: bool,
 }
 
 impl Options {