1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-24 09:50:55 +01:00

Merge pull request #14792 from Enzime/push-roqmwvnknzqw

Fix `curl` with `c-ares` failing to resolve DNS inside sandbox on macOS
This commit is contained in:
Jörg Thalheim 2025-12-23 09:07:29 +00:00 committed by GitHub
commit 3c3e5cbcdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"))