diff --git a/scalanativelib/src/mill/scalanativelib/ScalaNativeModule.scala b/scalanativelib/src/mill/scalanativelib/ScalaNativeModule.scala index 26c09136379..241687aa8da 100644 --- a/scalanativelib/src/mill/scalanativelib/ScalaNativeModule.scala +++ b/scalanativelib/src/mill/scalanativelib/ScalaNativeModule.scala @@ -356,6 +356,7 @@ trait TestScalaNativeModule extends ScalaNativeModule with TestModule { nativeLink().toIO, forkEnv() ++ Map( + "MILL_TEST_RESOURCE_DIR" -> resources().map(_.path).mkString(";"), EnvVars.MILL_TEST_RESOURCE_FOLDER -> resources().map(_.path).mkString(";"), EnvVars.MILL_WORKSPACE_ROOT -> T.workspace.toString ),