-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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: 1.0 -> 1.1 #71612
bazel: 1.0 -> 1.1 #71612
Conversation
A new minor release already, that's fast. |
@GrahamcOfBorg build bazel.tests |
Anyone have any ideas around why |
Let’s see what it says when we only run that one. @GrahamcOfBorg build bazel.tests.shebang Btw, we have a million of these warnings:
Maybe we should add the locale archive. But I wonder why ISO-8859-1 anyway. Maybe that’s a bug. |
Bazel extracts itself to a cache directory every time it’s run (yes, that is as silly as it sounds). For the tests we have an optimization in place, which puts that cache directory in a derivation, so that bazel doesn’t extract itself for every single test. There is some magic, so we have a sanity-check in place in the setup code: nixpkgs/pkgs/development/tools/build-managers/bazel/default.nix Lines 169 to 185 in 93e01f3
This sanity-check is getting broken now. This probably means one of the following:
Since macOS’s sandboxing is highly primitive, nix builds are kind of leaky there. I see two ways forward:
|
@flokli The preexisting failure you mention is a different one. I can't find
|
@uri-canva I'm not sure if It might be this PR introduces another breakage on top of the existing one, since tests were already broken on macos, I don't think we should block other bazel PRs if tests on Of course, #70994 should be fixed, but at least @Profpatsch and I don't have a MacOS around to interactively debug this - if you could fine some time to dig into it, that would be very much appreciated. |
Ah, found it. We were already skipping the extraction step on darwin, but the new shebang test runs it manually. Adding commit … |
@GrahamcOfBorg build bazel.tests |
1 similar comment
@GrahamcOfBorg build bazel.tests |
Finally passed 🎉 |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @