diff options
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | src/app.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -50,6 +50,7 @@ | |||
50 | pkgs.SDL2_ttf | 50 | pkgs.SDL2_ttf |
51 | ]; | 51 | ]; |
52 | RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; | 52 | RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; |
53 | RUST_LOG="info"; | ||
53 | }; | 54 | }; |
54 | }); | 55 | }); |
55 | } | 56 | } |
@@ -281,7 +281,7 @@ impl<'ctx> AppState<'ctx> { | |||
281 | let lisp_expr = &self.command_box.text; | 281 | let lisp_expr = &self.command_box.text; |
282 | let mut parser = Parser::new(Lexer::new(lisp_expr, 0)); | 282 | let mut parser = Parser::new(Lexer::new(lisp_expr, 0)); |
283 | let res = parser.parse_single_expr(); | 283 | let res = parser.parse_single_expr(); |
284 | match env::eval(&res.unwrap(), self) { | 284 | match env::eval(&res.unwrap(), self, None) { |
285 | Ok(val) => { | 285 | Ok(val) => { |
286 | self.message.text = format!("{}", val); | 286 | self.message.text = format!("{}", val); |
287 | } | 287 | } |