ocaml / dune

A composable build system for OCaml.
https://dune.build/
MIT License
1.56k stars 394 forks source link

Environment Variables aren't relocated to the Sandbox #10294

Open rgrinberg opened 3 months ago

rgrinberg commented 3 months ago

When we run actions inside the sandbox, we set various environment variables. The variables we need to relocate are:

All the variables above are computed automatically by dune when computing the environment from the set of packages. Since we manage these variables, we should take care to relocate them.

We should be modifying such paths into paths in the sandbox.

cc @gridbugs

gridbugs commented 3 months ago

This sounds similar to https://github.com/ocaml/dune/pull/10267 so I'll work on fixing this too (in a separate PR).