anchor.diff:        cd -
       '') + ''
         # build cli
  -      cd ./components/cli
  +      cd ./go/src/${goPackagePath}/components/cli
         # Mimic AUTO_GOPATH
         mkdir -p .gopath/src/github.com/docker/
         ln -sf $PWD .gopath/src/github.com/docker/cli
  
positive.code:     '';
  
      # systemd 230 no longer has libsystemd-journal as a separate entity from libsystemd
      patchPhase = ''
        substituteInPlace ./components/cli/scripts/build/.variables --replace "set -eu" ""
      '' + optionalString (stdenv.isLinux) ''
        patchShebangs .
  
negative.code:       NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
      });
    in
      buildGoPackage ((optionalAttrs (stdenv.isLinux) {
  
      inherit docker-runc docker-containerd docker-proxy docker-tini;
  
  