You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2019. It is now read-only.
Hazel's cabal2bazelcalls the ./configure script on packages that require this step. The is done using a call to repository_ctx.execute. It is common for configure scripts to look for tools like gcc. Since this happens in a repository rule, it has access to the regular environment (e.g. $PATH) even if --experimental_strict_action_env is set, as a quick test showed. This is an inhermiticity. E.g. this step will fail if a user does not have a global gcc installed. It could also introduce cache misses with a remote cache due to differences in setup between machines. Furthermore, if the Bazel build later on configures a different cc toolchain, say using nixpkgs_cc_configure, this could potentially cause issues due to incompatibility between the toolchains.