final: prev: { lego = prev.lego.override { buildGoModule = args: prev.buildGoModule (args // { patches = (args.patches or []) ++ prev.lib.lists.singleton (prev.fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/go-acme/lego/pull/1501.patch"; hash = "sha256-hLuWX607T8tcqljpBzEADViZd2FABkCgjNCLXMyWpuA="; }); }); }; }