anchor.diff:        fi
   
         mv go/src/$goPackagePath/vendor/gx go/src
  -      pushd go/src
  +      pushd go/src >/dev/null
         find gx -name vendor | xargs rm -rf
         deps=($(find gx -name package.json -exec dirname {} \;))
         for dep in "''${deps[@]}"; do
  
positive.code: 
          # Patch go files for dependencies
          ln -sv "$(pwd)" "$dep/vendor"
          pushd "$dep"
          gx-go rewrite
          popd
          rm "$dep/vendor"
  
          # Patch go files for self
          find "$dep" -type f -name \*.go -print0 \
            | xargs -n 1 -0 -P $NIX_BUILD_CORES sed -i "s,\([^a-zA-Z/]\)$rdep\(\"\|/\),\1$dep\2,g"
        done
        popd
      fi
  
      find go/src/$goPackagePath -type d \( -name vendor -or -name Godeps \) -prune -exec rm -r {} \;
  
negative.code:       rename = to: from: "echo Renaming '${from}' to '${to}'; govers -d -m ${from} ${to}";
        renames = p: lib.concatMapStringsSep "\n" (rename p.goPackagePath) p.goPackageAliases;
      in ''
        pushd "go/src/$goPackagePath" >/dev/null
        ${lib.concatMapStringsSep "\n" renames inputsWithAliases}
        popd >/dev/null
      '');
  
    buildPhase = args.buildPhase or ''
  