1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-23 17:31:08 +01:00

Fix curl with c-ares failing to resolve DNS inside sandbox on macOS

This commit is contained in:
Michael Hoang 2025-12-14 16:35:29 +01:00 committed by Jörg Thalheim
parent 4769f3c0b2
commit 7541129f04

View file

@ -16,6 +16,7 @@ R""(
; Allow DNS lookups.
(allow network-outbound (remote unix-socket (path-literal "/private/var/run/mDNSResponder")))
(allow mach-lookup (global-name "com.apple.SystemConfiguration.DNSConfiguration"))
; Allow access to trustd.
(allow mach-lookup (global-name "com.apple.trustd"))