ports/lang/gleam/patches/patch-compiler-cli_src_run_rs

14 lines
373 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Consider MODERL_VERSION
Index: compiler-cli/src/run.rs
--- compiler-cli/src/run.rs.orig
+++ compiler-cli/src/run.rs
@@ -134,7 +134,7 @@ fn run_erlang(
args.push(argument);
}
- ProjectIO::new().exec("erl", &args, &[], None, Stdio::Inherit)
+ ProjectIO::new().exec("erl${MODERL_VERSION}", &args, &[], None, Stdio::Inherit)
}
fn run_javascript_node(