From 35ce5ac039d7379ea4098afa25da4dc7dee2ef27 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 27 Sep 2019 13:45:03 -0400 Subject: [PATCH] comment about our twisted patch --- nixos/pkgs/twisted.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/pkgs/twisted.nix b/nixos/pkgs/twisted.nix index 32fb3437..efa56cd0 100644 --- a/nixos/pkgs/twisted.nix +++ b/nixos/pkgs/twisted.nix @@ -1,7 +1,11 @@ { twisted }: twisted.overrideAttrs (old: { - version = old.version + "-0"; prePatch = old.patchPhase; patchPhase = null; + # Add a patch which adds more logging to a namer resolver failure case. The + # NixOS system test harness might be setting up a weird semi-broken system + # that provokes a weird behavior out of getaddrinfo() that Twisted doesn't + # normally handle. The logging can help with debugging this case. We + # should think about upstreaming something related to this. patches = (if old ? "patches" then old.patches else []) ++ [ ./twisted.patch ]; }) -- GitLab