diff options
author | Puck Meerburg <puck@puckipedia.com> | 2024-02-08 17:29:37 +0000 |
---|---|---|
committer | Lunaphied <lunaphied@lunaphied.me> | 2024-04-27 14:44:15 -0600 |
commit | 0c831765bd14ebfa41a263ac8da5a3b402510c0b (patch) | |
tree | 9562bde0f3e83e38953b15e1afe9163c08bc0030 /src/nix/nar.md | |
parent | 76b45b48615f0c32a6967b09cc6754fbfe46f799 (diff) |
Run all derivation builders inside the sandbox on macOS
This replaces the external sandbox-exec call with direct calls into
libsandbox. This API is technically deprecated and is missing some
prototypes, but all major browsers depend on it, so it is unlikely to
materially change without warning.
This commit also ensures the netrc file is only written if the
derivation is in fact meant to be able to access the internet.
This change commits a sin of not actually actively declaring its
dependency on macOS's libsandbox.dylib; this is due to the dylib
cache in macOS making that explicit dependency unnecessary. In the
future this might become a problem, so this commit marks our sins.
Co-authored-by: Artemis Tosini <lix@artem.ist>
Co-authored-by: Lunaphied <lunaphied@lunaphied.me>
Change-Id: Ia302141a53ce7b0327c1aad86a117b6645fe1189
Diffstat (limited to 'src/nix/nar.md')
0 files changed, 0 insertions, 0 deletions