)]}'
{
  "commit": "85390ce88465e18c1c5d2f8d7f6ed21f3e8e8678",
  "tree": "ac8c0439cb5d23a98086ea7ce7812a950cd20c95",
  "parents": [
    "580895a422cdfb0a67e0845178531151e3d3340a"
  ],
  "author": {
    "name": "Conrad Burchert",
    "email": "conrad.burchert@gmail.com",
    "time": "Wed Feb 12 19:51:50 2025 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Feb 12 13:51:50 2025 -0500"
  },
  "message": "Bazel: Pass nodejs binary path as an environment variable. (#1518)\n\nThe current way to derive the binary path relies on a specific name for\r\nthe nodejs repository. This blocks migrating to bzlmod, as bzlmod\r\nprefixes repository directories with the module name that created them.\r\nBy asking bazel for the path instead we always get the correct path, so\r\nwe can work with both bzlmod and WORKSPACE based dependencies at the\r\nsame time.\r\n\r\nThe repository @nodejs, used in the build label, refers to nodejs for\r\nthe host platform and is generated by the following macro (wasn\u0027t too\r\nobvious to me):\r\n\r\nhttps://github.com/bazel-contrib/rules_nodejs/blob/d19d695275c5fd0d5224ddc7826d9f7f4b8186df/nodejs/repositories.bzl#L452\r\n\r\nThis is some work towards solving #1509.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cdbaa8cf21e0749c9f8efac589461885fd12e77c",
      "old_mode": 33188,
      "old_path": "bazel/emscripten_toolchain/BUILD.bazel",
      "new_id": "a98945072d13be97637138a5a69787a63fc72c36",
      "new_mode": 33188,
      "new_path": "bazel/emscripten_toolchain/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "648a8fef208edee1ad48d4dd794e4c691efed61d",
      "old_mode": 33188,
      "old_path": "bazel/emscripten_toolchain/default_config",
      "new_id": "8107fe4a2f1f554b810b859cc2941f432ae52571",
      "new_mode": 33188,
      "new_path": "bazel/emscripten_toolchain/default_config"
    },
    {
      "type": "modify",
      "old_id": "8c724d288e6db425c964d48b434003fbc390c336",
      "old_mode": 33188,
      "old_path": "bazel/emscripten_toolchain/toolchain.bzl",
      "new_id": "c8cec07158104cbce64a4222cbc1690ff4b10fb2",
      "new_mode": 33188,
      "new_path": "bazel/emscripten_toolchain/toolchain.bzl"
    }
  ]
}
