anchor.diff:        export GOCACHE="$TMPDIR/go-cache"
       '' + (optionalString (stdenv.isLinux) ''
         # build engine
  -      cd ./components/engine
  +      cd ./go/src/${goPackagePath}/components/engine
         export AUTO_GOPATH=1
         export DOCKER_GITCOMMIT="${rev}"
         export VERSION="${version}"
  
positive.code:       ++ optional (lvm2 == null) "exclude_graphdriver_devicemapper"
        ++ optional (libseccomp != null) "seccomp";
  
     }) // {
      inherit version rev;
  
      name = "docker-${version}";
  
negative.code:     '';
  
      # systemd 230 no longer has libsystemd-journal as a separate entity from libsystemd
      postPatch = ''
        substituteInPlace ./components/cli/scripts/build/.variables --replace "set -eu" ""
      '' + optionalString (stdenv.isLinux) ''
        patchShebangs .
  