docker: correct substitution path with buildx enabled

Starting with Docker 20.10, the client repo moved and the path changed.
wip/yesman
Ivan Babrou 3 years ago
parent 7c0db07752
commit aea19f284a
  1. 2
      pkgs/applications/virtualization/docker/default.nix

@ -169,7 +169,7 @@ rec {
substituteInPlace ./scripts/docs/generate-man.sh --replace "-v md2man" "-v go-md2man"
substituteInPlace ./man/md2man-all.sh --replace md2man go-md2man
'' + optionalString buildxSupport ''
substituteInPlace ./components/cli/cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
${lib.strings.makeSearchPathOutput "bin" "libexec/docker/cli-plugins" [docker-buildx]}
'';

Loading…
Cancel
Save