docker: narrow patchShebangs

This commit is contained in:
Mark Vainomaa 2021-06-15 13:12:02 +03:00
parent 2c7bdb05de
commit fc38adafea
No known key found for this signature in database
GPG key ID: 1B3F9523B542D315

View file

@ -78,7 +78,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 = ''
@ -144,7 +144,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 \