Aspect uses shell wrappers that invoke tools like dirname and uname. When the default shell env is not inherited, this prevents tools from being found on systems without a working fallback $PATH (like NixOS).
This might be incompatible with setting the env attribute, unless the bazel flag --incompatible_merge_fixed_and_default_shell_env is set on Bazel versions < 7.
Aspect uses shell wrappers that invoke tools like
dirname
anduname
. When the default shell env is not inherited, this prevents tools from being found on systems without a working fallback $PATH (like NixOS).This might be incompatible with setting the
env
attribute, unless the bazel flag--incompatible_merge_fixed_and_default_shell_env
is set on Bazel versions < 7.See also: https://github.com/NixOS/nixpkgs/issues/289505
Changes are visible to end-users: no
Test plan