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: fix sandbox execution #52456

Merged
merged 1 commit into from Dec 20, 2018
Merged

bazel: fix sandbox execution #52456

merged 1 commit into from Dec 20, 2018

Conversation

mboes
Copy link
Contributor

@mboes mboes commented Dec 17, 2018

Bazel runs actions in a sandbox by default on Darwin and Linux.
However, the sandboxing was always and silently disabled previously,
because a Bazel feature test was always failing. The feature test
involved running /bin/true inside a sandbox. But on NixOS,
/bin/true does not exist...

Bazel runs actions in a sandbox by default on Darwin and Linux.
However, the sandboxing was always and *silently* disabled previously,
because a Bazel feature test was always failing. The feature test
involved running `/bin/true` inside a sandbox. But on NixOS,
`/bin/true` does not exist...
@grahamc
Copy link
Member

grahamc commented Dec 17, 2018

@GrahamcOfBorg build bazel

@Profpatsch
Copy link
Member

Huh, great catch!

@Profpatsch Profpatsch merged commit 53e8258 into NixOS:master Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants