docker: apply fix starting containers with a local connection with the CLI

The change done in 4a526a901c was not
enough to cover everything. In order for the Docker CLI to work when
built with Go 1.20.6 it is also required to have the equivalent patch
for the docker/cli repository.
This commit is contained in:
Thomas Gerbet
2023-07-24 14:26:11 +02:00
parent 344ec16d0a
commit 3428dd4bef
@@ -188,6 +188,14 @@ rec {
++ lib.optional withSeccomp libseccomp
++ plugins;
patches = [
(fetchpatch {
name = "fix-issue-with-go-1.20.6.patch";
url = "https://github.com/docker/cli/pull/4441.patch";
hash = "sha256-F4ueSbdBk1w8OqC4Dgh8+4Ql4zTjehaM368ET7k6Yx8=";
})
];
postPatch = ''
patchShebangs man scripts/build/
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""