diff options
author | jade <lix@jade.fyi> | 2024-07-25 18:05:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-07-25 18:05:41 +0000 |
commit | c4c7cb7613a859faee3933a7f24f3e496e5548e9 (patch) | |
tree | 4d36376972e588c68b863135612607cfd8abf959 /src/libstore/build | |
parent | 8d12e0fbb7306cbc58b12ef051d7067d703738de (diff) | |
parent | 98e8cf9c63e35d439326797c39bad12b2d24c9ae (diff) |
Merge changes Ic0dfcfe2,Ibe73851f,Ia7a8df1c,I400b2031 into main
* changes:
package.nix: remove dead code
diff-closures: remove gratuitous copy
tree-wide: NULL -> nullptr
libutil: rip out GNU Hurd support code
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index 7d1d339e8..da2433326 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -1882,7 +1882,7 @@ void LocalDerivationGoal::runChild() sandboxArgs.push_back("_ALLOW_LOCAL_NETWORKING"); sandboxArgs.push_back("1"); } - if (sandbox_init_with_parameters(sandboxProfile.c_str(), 0, stringsToCharPtrs(sandboxArgs).data(), NULL)) { + if (sandbox_init_with_parameters(sandboxProfile.c_str(), 0, stringsToCharPtrs(sandboxArgs).data(), nullptr)) { writeFull(STDERR_FILENO, "failed to configure sandbox\n"); _exit(1); } |