rules_ocaml
rules_ocaml copied to clipboard
env vars for ppx transforms
Demo ppx/get_env runs a ppx that reads an env variable. Currently it fails with "env var not found". Passing --action_env does not help.
My suspicion is that this is because the ppx transform action is indirect, invoked as needed by the module rule, and the latter needs to pass the env explicitly.