Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel_6, bazel_5, bazel_4: add cpp darwin bash set -e workaround #267670

Closed

Commits on Nov 15, 2023

  1. bazel_6, bazel_5, bazel_4: add cpp darwin bash set -e workaround

    Submitting upstream here
    bazelbuild/bazel#20212
    
    Looks like with some bash versions and under some conditions
    sub-shell would propagate errors to parent shell under `set -e`
    even though it shouldn't.
    
    https://hydra.nixos.org/build/240805256/nixlog/1
    https://hydra.nixos.org/build/240805170/nixlog/2
    
    Was able to reproduce the Hydra issue on `x86_64-darwin` with `bazel_6`,
    but not with `aarch64-darwin` having same numeric bash version.
    
    ZHF: NixOS#265948
    boltzmannrain committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    a71999b View commit details
    Browse the repository at this point in the history