-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Scylladb: fix build under sandboxing #70576
Scylladb: fix build under sandboxing #70576
Conversation
Co-authored-by: Justin Humm <justin.humm@posteo.de>
@GrahamcOfBorg build scylladb |
Did you consider upstreaming the patch? I guess this would be a good change for them as my Besides that, this LGTM but as I wrote part of it I guess it makes sense that somebody else approves these changes. |
@GrahamcOfBorg build scylladb |
I had trouble building this: Build Failure
|
@jonringer Thanks for triggering the build! This is a really heavy one, and it looks like grahamcofborg ran out of RAM. Scrolling up a bit in the logs:
How do we resolve that? I could patch it to run on |
@infinisil Can we trouble you to take a look? |
I did notice that the review almost maxed out my 32Gb :( |
From the manual
...so I think in this case we could reduce the |
@erictapen I did not yet, good idea. Please, go for it if you have time :) |
I noticed yesterday and used de51368. It would be possible to, say, use half of |
probably the safest way to go is |
Well, that's like setting cores to 1. Anyway, the main problem I see ATM is that the output is around 18 GiB, and we can't have that on the binary cache, meaning I'll disable it on Hydra as there's little point when it can't "succeed". Perhaps almost all of the content is useless? (e.g. I see >10G in {
installPhase = ''
mkdir $out
cp -r * $out/
'';
} |
Agreed, that's too big. |
(cherry picked from commit 8ae02b5)
Motivation for this change
Build was broken under sandboxing.
This fixes two build nondeterminisms
CC: @clojurians-org @erictapen
Resolves #70049
Also ticks one of the boxes in #68361
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)