)]}'
{
  "commit": "778649edf3e2083b35300238635d315100e5f1b8",
  "tree": "dfda447e1dc6670e62e878d1d8716d983fba797c",
  "parents": [
    "01491a7c7ae539a90756fa3a210cf08cbe450856"
  ],
  "author": {
    "name": "Tim Windelschmidt",
    "email": "tim@monogon.tech",
    "time": "Wed Jul 23 03:50:27 2025 +0200"
  },
  "committer": {
    "name": "Tim Windelschmidt",
    "email": "tim@monogon.tech",
    "time": "Fri Aug 01 00:54:56 2025 +0000"
  },
  "message": "third_party/nix: move overrides to toolchain-bundle derivation\n\nWe have multiple consumers of nixpkgs. The nix-shell for development\nand our toolchain-bundle. To reduce the amount of applied overlays\nin normal evaluation, we move all overrides/patches that are only\nrequired for the toolchain bundle to its definition. Additionally\nall small overrides get inlined as its actually more easy to read.\nI also refactored the way the toolchain-bundle is constructed to make\nit easier to extend.\n\nChange-Id: If7daafb6de43d26a0b95d0248cfb8c573cc5bbbe\nReviewed-on: https://review.monogon.dev/c/monogon/+/4457\nReviewed-by: Leopold Schabel \u003cleo@monogon.tech\u003e\nTested-by: Jenkins CI\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "794b6d27ec67c7122f0008a964a9fe06cddad28b",
      "old_mode": 33188,
      "old_path": "build/toolchain/toolchain-bundle/default.nix",
      "new_id": "1b016c5961f70459fb7c51463ebc80e052566182",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/default.nix"
    },
    {
      "type": "rename",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/bison/BUILD.bazel",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/bison/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "8b2245eb6406e045e4d5431a254a38f9eff98ba1",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/bison/default.nix",
      "new_id": "9132a308228e95cd4bd37aa25822f78c23082ed7",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/bison/default.nix",
      "score": 61
    },
    {
      "type": "rename",
      "old_id": "b6ff3669495b300a3a0c94d66c07ee0bab049868",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/bison/yacc.in",
      "new_id": "b6ff3669495b300a3a0c94d66c07ee0bab049868",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/bison/yacc.in",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/perl/BUILD.bazel",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/perl/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "c2677b5342c16db2055dce7ad19a11c4e471c607",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/perl/default.nix",
      "new_id": "e8f5a0ded03fe2d3c8e725ff617d47a431088a54",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/perl/default.nix",
      "score": 72
    },
    {
      "type": "rename",
      "old_id": "8562a3f0e216509071735c8e6e8c43c1fc306155",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/perl/static_build.patch",
      "new_id": "8562a3f0e216509071735c8e6e8c43c1fc306155",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/perl/static_build.patch",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/qemu/BUILD.bazel",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/qemu/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "5134cb7a8f6faecc450a46b72d86dfc2d5cff77c",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/qemu/default.nix",
      "new_id": "81f8825002448e5c3a30fd7a487c218a34d54f65",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/qemu/default.nix",
      "score": 94
    },
    {
      "type": "rename",
      "old_id": "8e6c033d0d431f670885d3d314a8f93a20768b55",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/qemu/static_build_crc32c_duplicate_definition.patch",
      "new_id": "8e6c033d0d431f670885d3d314a8f93a20768b55",
      "new_mode": 33188,
      "new_path": "build/toolchain/toolchain-bundle/pkgs/qemu/static_build_crc32c_duplicate_definition.patch",
      "score": 100
    },
    {
      "type": "modify",
      "old_id": "726119ea90b29aedaf8300a75f7fe0d9b940ffb1",
      "old_mode": 33188,
      "old_path": "third_party/nix/default.nix",
      "new_id": "f2650b3ad54ad236be2c72ccfcb0f90072c858b5",
      "new_mode": 33188,
      "new_path": "third_party/nix/default.nix"
    },
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/diffutils/BUILD.bazel",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "bbb38e32d9ccb3c9bccb7d08ba86d48efccb6918",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/diffutils/default.nix",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/python3/BUILD.bazel",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "3102b8886d7565f6b42f5a85509a8cb967a804af",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/python3/default.nix",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/util-linux/BUILD.bazel",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "1935cd3212781ff879fafe7518378993fd9461b4",
      "old_mode": 33188,
      "old_path": "third_party/nix/pkgs/util-linux/default.nix",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
