mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
docker: narrow patchShebangs
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user