diff --git a/magic-nix-cache/src/main.rs b/magic-nix-cache/src/main.rs index ba8d747..9379c78 100644 --- a/magic-nix-cache/src/main.rs +++ b/magic-nix-cache/src/main.rs @@ -373,6 +373,8 @@ async fn main_cli() -> Result<()> { // TODO: hacky, could be better continue } + // TOOD: another sorta hack + let event_str = event_str.strip_prefix("data: ".as_bytes()).unwrap(); // TODO: omg let event: BuiltPathResponseEventV1 = serde_json::from_slice(&event_str)?; // TODO(colemickens): error handling:::