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
Nix 1.11.10 fails to build on macOS #1413
Comments
cc @edolstra |
Note that this has been blocking nixpkgs-unstable for quite some time now. Disabling all nix's tests would probably fix that, but I'd personally prefer to avoid that, even as temporary solution. |
edolstra
added a commit
that referenced
this issue
Jun 19, 2017
Sandboxes cannot be nested, so if Nix's build runs inside a sandbox, it cannot use a sandbox itself. I don't see a clean way to detect whether we're in a sandbox, so use a test-specific hack. #1413
I believe this is fixed now, as I've built Nix a few times. |
On Hydra it did build for some time but now 1.11.11 fails: http://hydra.nixos.org/build/55984532 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 1.11.10 Nix version is not building on the Hydra build farm currently. Here is the log:
http://hydra.nixos.org/build/54425786/nixlog/1
The relevant lines are:
I'm not exactly sure what's going on here. My theory is that MacOS sandboxing does not like running a sandbox within a sandbox. The tests need to create their own sandbox to run correctly even though they are already in their parent sandbox. Maybe there is a way to detect that the machine is in the sandbox and just assume that it is safe to reuse? (probably a security hazard unless you can check that everything that should be denied is actually denied).
The text was updated successfully, but these errors were encountered: