diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch b/nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch new file mode 100644 index 000000000000..c46482b30149 --- /dev/null +++ b/nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch @@ -0,0 +1,14 @@ +diff --git a/auto/unix b/auto/unix +index a38c12dc..025a4899 100644 +--- a/auto/unix ++++ b/auto/unix +@@ -1072,9 +1072,7 @@ ngx_feature_test='int fd; + + + # Auto read nameserver from /etc/resolv.conf. +- if [ -f "/etc/resolv.conf" ]; then + have=NGX_RESOLVER_FILE + value=\"/etc/resolv.conf\" + . auto/define +-fi + |