Stream: platform development

Topic: environment variables?


view this post on Zulip Brian Hicks (Nov 02 2022 at 15:12):

When I do roc run, it looks like a lot of environment variables get removed. HOME, in particular, is the one I care about right now. Is that a known thing? Is it possible I'm just doing something wrong?

view this post on Zulip Anton (Nov 02 2022 at 15:18):

We do env_clear a bunch here.

view this post on Zulip Richard Feldman (Nov 02 2022 at 15:29):

this is a known bug: https://github.com/roc-lang/roc/issues/3566

view this post on Zulip Richard Feldman (Nov 02 2022 at 15:30):

there's a fix in a comment there for macOS, but the fix for Linux might cover Mac as well


Last updated: Jul 05 2025 at 12:14 UTC