diff options
| author | Łukasz Niemier <lukasz@niemier.pl> | 2021-01-28 13:59:11 +0100 |
|---|---|---|
| committer | Łukasz Niemier <lukasz@niemier.pl> | 2021-01-28 14:09:30 +0100 |
| commit | bd75d14b0f1dfd244dadd0ffb1992d9af804dc71 (patch) | |
| tree | b6e06b82a107ccbe4630a4e54dd6187f029b9786 /tests | |
| parent | 8834df431736c3037bbef017b24c62bc4ace4645 (diff) | |
fix: use separate config option to set port of DNSmasq
Older approach seems to not work on macOS 11 Big Sur for some reason.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/services-dnsmasq.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/services-dnsmasq.nix b/tests/services-dnsmasq.nix index 9227e3e..6bab02f 100644 --- a/tests/services-dnsmasq.nix +++ b/tests/services-dnsmasq.nix @@ -20,6 +20,7 @@ in grep -F -- "--address=/localhost/127.0.0.1" ${config.out}/Library/LaunchDaemons/org.nixos.dnsmasq.plist echo >&2 "checking resolver config" - grep -F "nameserver 127.0.0.1.53" ${config.out}/etc/resolver/localhost + grep -F "port 53" ${config.out}/etc/resolver/localhost + grep -F "nameserver 127.0.0.1" ${config.out}/etc/resolver/localhost ''; } |
