Merge pull request #174618 from risicle/ris-coredns-darwin-fix

coredns: fix tests on darwin

authored by Robert Scott and committed by GitHub 4f6e9865 af02d617

+8 -1
+8 -1
pkgs/servers/dns/coredns/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , stdenv 3 + , buildGoModule 4 + , fetchFromGitHub 5 + }: 2 6 3 7 buildGoModule rec { 4 8 pname = "coredns"; ··· 20 24 21 25 substituteInPlace test/readme_test.go \ 22 26 --replace "TestReadme" "SkipReadme" 27 + '' + lib.optionalString stdenv.isDarwin '' 28 + # loopback interface is lo0 on macos 29 + sed -E -i 's/\blo\b/lo0/' plugin/bind/setup_test.go 23 30 ''; 24 31 25 32 meta = with lib; {