Skip to content

Commit d0fd170

Browse files
HoloRinmergify[bot]
authored andcommitted
Explicitly set HOME in elixir_build rule
It's not guaranteed to be set, so it's better to be explicit with a temp dir (cherry picked from commit 503bcce) (cherry picked from commit 3a85235)
1 parent 5535432 commit d0fd170

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bazel/elixir/elixir_build.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ fi
6464
{maybe_install_erlang}
6565
6666
export PATH="{erlang_home}"/bin:${{PATH}}
67+
export HOME="$(mktemp -d)"
6768
6869
ABS_BUILD_DIR=$PWD/{build_path}
6970
ABS_RELEASE_DIR=$PWD/{release_path}

0 commit comments

Comments
 (0)