We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681d7f7 commit bbc4977Copy full SHA for bbc4977
src/libstore/unix/build/local-derivation-goal.cc
@@ -2235,7 +2235,7 @@ void LocalDerivationGoal::runChild()
2235
// We create multiple allow lists, to avoid exceeding a limit in the darwin sandbox interpreter.
2236
// See https://github.com/NixOS/nix/issues/4119
2237
// We split our allow groups approximately at half the actual limit, 1 << 16
2238
- const int breakpoint = sandboxProfile.length() + (1 << 14);
+ const size_t breakpoint = sandboxProfile.length() + (1 << 14);
2239
for (auto & i : pathsInChroot) {
2240
2241
if (sandboxProfile.length() >= breakpoint) {
0 commit comments