Setting ENV VARS is causing my build to crash loop

Hi, I have an app that installs libressl. For tests to run successfully, it needs to link against libtls. I do this by setting LD_LIBRARY_PATH, but I found out that doing so twice (once in machine and once inlined as an EXPORT with tests" is causing my build to crash loop and get rescheduled repeatedly. I’m guessing this is some sort of bug on Circle’s end? An environment variable being set twice (or once incorrectly) should lead to an explicit failure, not a stream of retries.