mirror of
https://github.com/NixOS/nix.git
synced 2025-12-24 18:00:55 +01:00
Merge pull request #14859 from NixOS/backport-14792-to-2.32-maintenance
[Backport 2.32-maintenance] Fix `curl` with `c-ares` failing to resolve DNS inside sandbox on macOS
This commit is contained in:
commit
271a0b784e
1 changed files with 1 additions and 0 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue