Skip to content

Commit

Permalink
docker: narrow patchShebangs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikroskeem committed Jul 12, 2021
1 parent 2c7bdb0 commit fc38ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/docker/default.nix
Expand Up @@ -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 = ''
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit fc38ada

Please sign in to comment.