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
racket: use proper uname, allow for unix sockets #41219
Conversation
Racket checks the current platform via uname, then disallows unix domain socket usage based on the result. Previously, it could not successfully call uname at all, so it fell back to denying UDS.
@GrahamcOfBorg build racket |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: racket Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: racket Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: racket Partial log (click to expand)
|
Thank you for asking, I've been meaning to gather the energy to push things through. The test suite indicates that ffi is broken, but I haven't checked whether it's broken in sandbox only, or also in reality. Let me get back to you after building full racket locally. |
Re: aarch64 I wouldn't know. |
However, disentangling testing and building is non-trivial. It's not as easy as |
Motivation for this change
Racket checks the current platform via uname, then disallows
unix domain socket usage based on the result. Previously, it could not
successfully call uname at all, so it fell back to denying UDS.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)cc @henrytill