docker: narrow patchShebangs

(cherry picked from commit fc38adafeaae8c83997b8dcf7671da3db8bb277f)
This commit is contained in:
Mark Vainomaa 2021-06-15 13:12:02 +03:00 committed by github-actions[bot]
parent 66b051a576
commit 867a90866e
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ rec {
extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]);
postPatch = ''
patchShebangs .
patchShebangs hack/make.sh hack/make/
'';
buildPhase = ''
@ -142,7 +142,7 @@ rec {
] ++ optionals (buildxSupport) [ docker-buildx ];
postPatch = ''
patchShebangs .
patchShebangs man scripts/build/
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
'' + optionalString buildxSupport ''
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \