---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "buildkite-agents",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "mkHookOption",
        position: (8, 3),
       },
      ],
     },
     Function {
      argument: None,
      arguments: FunctionArguments {
       arguments: [
        FunctionArgument {
         identifier: "example",
         default: Some(
          Variable {
           identifier: "null",
           position: (8, 49),
          },
         ),
        },
        FunctionArgument {
         identifier: "description",
         default: None,
        },
        FunctionArgument {
         identifier: "name",
         default: None,
        },
       ],
       ellipsis: false,
      },
      definition: Map {
       bindings: [
        Inherit(
         None,
         [
          Raw {
           content: "name",
           position: (9, 13),
          },
         ],
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "value",
            position: (10, 5),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (10, 13),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (11, 7),
                  },
                 ],
                },
                Variable {
                 identifier: "null",
                 position: (11, 17),
                },
               ),
               Inherit(
                None,
                [
                 Raw {
                  content: "description",
                  position: (12, 15),
                 },
                ],
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (13, 7),
                  },
                 ],
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (13, 14),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "nullOr",
                     position: (13, 20),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (13, 27),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "lines",
                      position: (13, 33),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (10, 22),
             },
            ],
           },
           IfThenElse {
            predicate: BinaryOperation {
             operator: EqualTo,
             operands: [
              Variable {
               identifier: "example",
               position: (14, 14),
              },
              Variable {
               identifier: "null",
               position: (14, 25),
              },
             ],
             position: (14, 22),
            },
            then: Map {
             bindings: [],
             recursive: false,
             position: (14, 35),
            },
            else_: Map {
             bindings: [
              Inherit(
               None,
               [
                Raw {
                 content: "example",
                 position: (14, 53),
                },
               ],
              ),
             ],
             recursive: false,
             position: (14, 43),
            },
            position: (14, 11),
           },
          ],
          position: (14, 7),
         },
        ),
       ],
       recursive: false,
       position: (8, 57),
      },
      position: (8, 18),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "mkHookOptions",
        position: (16, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "hooks",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "listToAttrs",
        position: (16, 26),
       },
       arguments: [
        FunctionApplication {
         function: Variable {
          identifier: "map",
          position: (16, 39),
         },
         arguments: [
          Variable {
           identifier: "mkHookOption",
           position: (16, 43),
          },
          Variable {
           identifier: "hooks",
           position: (16, 56),
          },
         ],
        },
       ],
      },
      position: (16, 19),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "hooksDir",
        position: (18, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "cfg",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "mkHookEntry",
            position: (19, 5),
           },
          ],
         },
         Function {
          argument: Some(
           "name",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Function {
           argument: Some(
            "value",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: String {
            parts: [
             Raw {
              content: "cat > $out/",
              position: (20, 1),
             },
             Expression {
              expression: Variable {
               identifier: "name",
               position: (20, 20),
              },
             },
             Raw {
              content: " <<'EOF'\n#! ",
              position: (20, 25),
             },
             Expression {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (21, 12),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "runtimeShell",
                  position: (21, 17),
                 },
                ],
               },
               default: None,
              },
             },
             Raw {
              content: "\nset -e\n",
              position: (21, 30),
             },
             Expression {
              expression: Variable {
               identifier: "value",
               position: (23, 9),
              },
             },
             Raw {
              content: "\nEOF\nchmod 755 $out/",
              position: (23, 15),
             },
             Expression {
              expression: Variable {
               identifier: "name",
               position: (25, 24),
              },
             },
             Raw {
              content: "\n",
              position: (25, 29),
             },
            ],
           },
           position: (19, 25),
          },
          position: (19, 19),
         },
        ),
       ],
       target: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (27, 6),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "runCommand",
            position: (27, 11),
           },
          ],
         },
         default: None,
        },
        arguments: [
         String {
          parts: [
           Raw {
            content: "buildkite-agent-hooks",
            position: (27, 23),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "preferLocalBuild",
               position: (27, 48),
              },
             ],
            },
            Variable {
             identifier: "true",
             position: (27, 67),
            },
           ),
          ],
          recursive: false,
          position: (27, 46),
         },
         String {
          parts: [
           Raw {
            content: "mkdir $out\n",
            position: (28, 1),
           },
           Expression {
            expression: FunctionApplication {
             function: Variable {
              identifier: "concatStringsSep",
              position: (29, 7),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "\n",
                 position: (29, 25),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mapAttrsToList",
                position: (29, 30),
               },
               arguments: [
                Variable {
                 identifier: "mkHookEntry",
                 position: (29, 45),
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "filterAttrs",
                  position: (29, 58),
                 },
                 arguments: [
                  Function {
                   argument: Some(
                    "n",
                   ),
                   arguments: FunctionArguments {
                    arguments: [],
                    ellipsis: false,
                   },
                   definition: Function {
                    argument: Some(
                     "v",
                    ),
                    arguments: FunctionArguments {
                     arguments: [],
                     ellipsis: false,
                    },
                    definition: BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      Variable {
                       identifier: "v",
                       position: (29, 77),
                      },
                      Variable {
                       identifier: "null",
                       position: (29, 82),
                      },
                     ],
                     position: (29, 79),
                    },
                    position: (29, 74),
                   },
                   position: (29, 71),
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (29, 88),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "hooks",
                      position: (29, 92),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
               ],
              },
             ],
            },
           },
           Raw {
            content: "\n",
            position: (29, 100),
           },
          ],
         },
        ],
       },
       position: (18, 19),
      },
      position: (18, 14),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "buildkiteOptions",
        position: (32, 3),
       },
      ],
     },
     Function {
      argument: None,
      arguments: FunctionArguments {
       arguments: [
        FunctionArgument {
         identifier: "config",
         default: None,
        },
        FunctionArgument {
         identifier: "name",
         default: Some(
          String {
           parts: [],
          },
         ),
        },
       ],
       ellipsis: true,
      },
      definition: Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "options",
            position: (33, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (34, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (34, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (35, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (35, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (36, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (36, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (36, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (37, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable this buildkite agent",
                    position: (37, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (34, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "package",
               position: (40, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (40, 17),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (41, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (41, 19),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "buildkite-agent",
                     position: (41, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (42, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (42, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.buildkite-agent",
                      position: (42, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (43, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Which buildkite-agent derivation to use",
                    position: (43, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (44, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (44, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "package",
                     position: (44, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
               ],
               recursive: false,
               position: (40, 26),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "dataDir",
               position: (47, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (47, 17),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (48, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "/var/lib/buildkite-agent-",
                    position: (48, 20),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "name",
                     position: (48, 47),
                    },
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (49, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The workdir for the agent",
                    position: (49, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (50, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (50, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (50, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
               ],
               recursive: false,
               position: (47, 26),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "runtimePackages",
               position: (53, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (53, 25),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (54, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (54, 21),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "bash",
                       position: (54, 26),
                      },
                     ],
                    },
                    default: None,
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (54, 31),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "gnutar",
                       position: (54, 36),
                      },
                     ],
                    },
                    default: None,
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (54, 43),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "gzip",
                       position: (54, 48),
                      },
                     ],
                    },
                    default: None,
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (54, 53),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "git",
                       position: (54, 58),
                      },
                     ],
                    },
                    default: None,
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (54, 62),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "nix",
                       position: (54, 67),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                  position: (54, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (55, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (55, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]",
                      position: (55, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (56, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Add programs to the buildkite-agent environment",
                    position: (56, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (57, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (57, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (57, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "package",
                       position: (57, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (53, 34),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "tokenPath",
               position: (60, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (60, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (61, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (61, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (61, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (62, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The token from your Buildkite \"Agents\" page.\n\nA run-time path to the token file, which is supposed to be provisioned\noutside of Nix store.\n",
                    position: (63, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (60, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "name",
               position: (70, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (70, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (71, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (71, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (71, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (72, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "%hostname-",
                    position: (72, 20),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "name",
                     position: (72, 32),
                    },
                   },
                   Raw {
                    content: "-%n",
                    position: (72, 37),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (73, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The name of the agent as seen in the buildkite dashboard.\n",
                    position: (74, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (70, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "tags",
               position: (78, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (78, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (79, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (79, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "attrsOf",
                      position: (79, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (79, 31),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "either",
                        position: (79, 37),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (79, 44),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "str",
                         position: (79, 50),
                        },
                       ],
                      },
                      default: None,
                     },
                     FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "types",
                        position: (79, 55),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "listOf",
                          position: (79, 61),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (79, 68),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "str",
                           position: (79, 74),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (80, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [],
                  recursive: false,
                  position: (80, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (81, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "queue",
                       position: (81, 21),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "default",
                       position: (81, 30),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "docker",
                       position: (81, 40),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "true",
                       position: (81, 50),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "ruby2",
                       position: (81, 57),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "true",
                       position: (81, 65),
                      },
                     ],
                    },
                   ),
                  ],
                  recursive: false,
                  position: (81, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (82, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Tags for the agent.\n",
                    position: (83, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (78, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "extraConfig",
               position: (87, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (87, 21),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (88, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (88, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "lines",
                     position: (88, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (89, 9),
                   },
                  ],
                 },
                 String {
                  parts: [],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (90, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "debug=true",
                    position: (90, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (91, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Extra lines to be added verbatim to the configuration file.\n",
                    position: (92, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (87, 30),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "privateSshKeyPath",
               position: (96, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (96, 27),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (97, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (97, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (97, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (97, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "path",
                       position: (97, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (98, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (98, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "apply",
                    position: (101, 9),
                   },
                  ],
                 },
                 Function {
                  argument: Some(
                   "final",
                  ),
                  arguments: FunctionArguments {
                   arguments: [],
                   ellipsis: false,
                  },
                  definition: IfThenElse {
                   predicate: BinaryOperation {
                    operator: EqualTo,
                    operands: [
                     Variable {
                      identifier: "final",
                      position: (101, 27),
                     },
                     Variable {
                      identifier: "null",
                      position: (101, 36),
                     },
                    ],
                    position: (101, 33),
                   },
                   then: Variable {
                    identifier: "null",
                    position: (101, 46),
                   },
                   else_: FunctionApplication {
                    function: Variable {
                     identifier: "toString",
                     position: (101, 56),
                    },
                    arguments: [
                     Variable {
                      identifier: "final",
                      position: (101, 65),
                     },
                    ],
                   },
                   position: (101, 24),
                  },
                  position: (101, 17),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (103, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "OpenSSH private key\n\nA run-time path to the key file, which is supposed to be provisioned\noutside of Nix store.\n",
                    position: (104, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (96, 36),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "hooks",
               position: (111, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkHookOptions",
              position: (111, 15),
             },
             arguments: [
              List {
               elements: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (112, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "checkout",
                      position: (112, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (113, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `checkout` hook script will replace the default checkout routine of the\nbootstrap.sh script. You can use this hook to do your own SCM checkout\nbehaviour\n",
                      position: (114, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (112, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (118, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "command",
                      position: (118, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (119, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `command` hook script will replace the default implementation of running\nthe build command.\n",
                      position: (120, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (118, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (123, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "environment",
                      position: (123, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (124, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `environment` hook will run before all other commands, and can be used\nto set up secrets, data, etc. Anything exported in hooks will be available\nto the build script.\n\nNote: the contents of this file will be copied to the world-readable\nNix store.\n",
                      position: (125, 1),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "example",
                      position: (132, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "export SECRET_VAR=`head -1 /run/keys/secret`\n",
                      position: (133, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (123, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (135, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "post-artifact",
                      position: (135, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (136, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `post-artifact` hook will run just after artifacts are uploaded\n",
                      position: (137, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (135, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (139, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "post-checkout",
                      position: (139, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (140, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `post-checkout` hook will run after the bootstrap script has checked out\nyour projects source code.\n",
                      position: (141, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (139, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (144, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "post-command",
                      position: (144, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (145, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `post-command` hook will run after the bootstrap script has run your\nbuild commands\n",
                      position: (146, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (144, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (149, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "pre-artifact",
                      position: (149, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (150, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `pre-artifact` hook will run just before artifacts are uploaded\n",
                      position: (151, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (149, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (153, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "pre-checkout",
                      position: (153, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (154, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `pre-checkout` hook will run just before your projects source code is\nchecked out from your SCM provider\n",
                      position: (155, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (153, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (158, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "pre-command",
                      position: (158, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (159, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `pre-command` hook will run just before your build command runs\n",
                      position: (160, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (158, 9),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (162, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "pre-exit",
                      position: (162, 19),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (163, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "The `pre-exit` hook will run just before your build job finishes\n",
                      position: (164, 1),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (162, 9),
                },
               ],
               position: (111, 29),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "hooksPath",
               position: (168, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (168, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (169, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (169, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (169, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (170, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "hooksDir",
                   position: (170, 19),
                  },
                  arguments: [
                   Variable {
                    identifier: "config",
                    position: (170, 28),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (171, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalDocBook",
                   position: (171, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "generated from <option>services.buildkite-agents.&lt;name&gt;.hooks</option>",
                      position: (171, 39),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (172, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Path to the directory storing the hooks.\nConsider using <option>services.buildkite-agents.&lt;name&gt;.hooks.&lt;name&gt;</option>\ninstead.\n",
                    position: (173, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (168, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "shell",
               position: (179, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (179, 15),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (180, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (180, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (180, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (181, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (181, 22),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "bash",
                        position: (181, 27),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/bash -e -c",
                    position: (181, 32),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (182, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (182, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "\"",
                      position: (182, 43),
                     },
                     Raw {
                      content: "$",
                      position: (182, 44),
                     },
                     Raw {
                      content: "{pkgs.bash}/bin/bash -e -c\"",
                      position: (182, 47),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (183, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Command that buildkite-agent 3 will execute when it spawns a shell.\n",
                    position: (184, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (179, 24),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (33, 15),
         },
        ),
       ],
       recursive: false,
       position: (32, 50),
      },
      position: (32, 22),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "enabledAgents",
        position: (189, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (189, 19),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "filterAttrs",
          position: (189, 23),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Function {
        argument: Some(
         "n",
        ),
        arguments: FunctionArguments {
         arguments: [],
         ellipsis: false,
        },
        definition: Function {
         argument: Some(
          "v",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: PropertyAccess {
          expression: Variable {
           identifier: "v",
           position: (189, 42),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "enable",
             position: (189, 44),
            },
           ],
          },
          default: None,
         },
         position: (189, 39),
        },
        position: (189, 36),
       },
       Variable {
        identifier: "cfg",
        position: (189, 52),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "mapAgents",
        position: (190, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "function",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (190, 25),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "mkMerge",
           position: (190, 29),
          },
         ],
        },
        default: None,
       },
       arguments: [
        FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (190, 38),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "mapAttrsToList",
             position: (190, 42),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Variable {
           identifier: "function",
           position: (190, 57),
          },
          Variable {
           identifier: "enabledAgents",
           position: (190, 66),
          },
         ],
        },
       ],
      },
      position: (190, 15),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (193, 3),
        },
        Raw {
         content: "services",
         position: (193, 11),
        },
        Raw {
         content: "buildkite-agents",
         position: (193, 20),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkOption",
        position: (193, 39),
       },
       arguments: [
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "type",
              position: (194, 5),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "types",
              position: (194, 12),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "attrsOf",
                position: (194, 18),
               },
              ],
             },
             default: None,
            },
            arguments: [
             FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (194, 27),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "submodule",
                  position: (194, 33),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               Variable {
                identifier: "buildkiteOptions",
                position: (194, 43),
               },
              ],
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "default",
              position: (195, 5),
             },
            ],
           },
           Map {
            bindings: [],
            recursive: false,
            position: (195, 15),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "description",
              position: (196, 5),
             },
            ],
           },
           String {
            parts: [
             Raw {
              content: "Attribute set of buildkite agents.\nThe attribute key is combined with the hostname and a unique integer to\ncreate the final agent name. This can be overridden by setting the `name`\nattribute.\n",
              position: (197, 1),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (193, 48),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (204, 3),
        },
        Raw {
         content: "users",
         position: (204, 10),
        },
        Raw {
         content: "users",
         position: (204, 16),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mapAgents",
        position: (204, 24),
       },
       arguments: [
        Function {
         argument: Some(
          "name",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: Function {
          argument: Some(
           "cfg",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Expression {
                expression: String {
                 parts: [
                  Raw {
                   content: "buildkite-agent-",
                   position: (205, 6),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (205, 24),
                   },
                  },
                 ],
                },
               },
              ],
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "name",
                   position: (206, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "buildkite-agent-",
                   position: (206, 15),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (206, 33),
                   },
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "home",
                   position: (207, 7),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (207, 14),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "dataDir",
                    position: (207, 18),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "createHome",
                   position: (208, 7),
                  },
                 ],
                },
                Variable {
                 identifier: "true",
                 position: (208, 20),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (209, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Buildkite agent user",
                   position: (209, 22),
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "extraGroups",
                   position: (210, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "keys",
                     position: (210, 24),
                    },
                   ],
                  },
                 ],
                 position: (210, 21),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "isSystemUser",
                   position: (211, 7),
                  },
                 ],
                },
                Variable {
                 identifier: "true",
                 position: (211, 22),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "group",
                   position: (212, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "buildkite-agent-",
                   position: (212, 16),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (212, 34),
                   },
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (205, 33),
             },
            ),
           ],
           recursive: false,
           position: (204, 46),
          },
          position: (204, 41),
         },
         position: (204, 35),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (215, 3),
        },
        Raw {
         content: "users",
         position: (215, 10),
        },
        Raw {
         content: "groups",
         position: (215, 16),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mapAgents",
        position: (215, 25),
       },
       arguments: [
        Function {
         argument: Some(
          "name",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: Function {
          argument: Some(
           "cfg",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Expression {
                expression: String {
                 parts: [
                  Raw {
                   content: "buildkite-agent-",
                   position: (216, 6),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (216, 24),
                   },
                  },
                 ],
                },
               },
              ],
             },
             Map {
              bindings: [],
              recursive: false,
              position: (216, 33),
             },
            ),
           ],
           recursive: false,
           position: (215, 47),
          },
          position: (215, 42),
         },
         position: (215, 36),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (219, 3),
        },
        Raw {
         content: "systemd",
         position: (219, 10),
        },
        Raw {
         content: "services",
         position: (219, 18),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mapAgents",
        position: (219, 29),
       },
       arguments: [
        Function {
         argument: Some(
          "name",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: Function {
          argument: Some(
           "cfg",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Expression {
                expression: String {
                 parts: [
                  Raw {
                   content: "buildkite-agent-",
                   position: (220, 6),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (220, 24),
                   },
                  },
                 ],
                },
               },
              ],
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (221, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Buildkite Agent",
                   position: (221, 24),
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "wantedBy",
                   position: (222, 9),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "multi-user.target",
                     position: (222, 23),
                    },
                   ],
                  },
                 ],
                 position: (222, 20),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "after",
                   position: (223, 9),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "network.target",
                     position: (223, 20),
                    },
                   ],
                  },
                 ],
                 position: (223, 17),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "path",
                   position: (224, 9),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Concatenation,
                 operands: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (224, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "runtimePackages",
                      position: (224, 20),
                     },
                    ],
                   },
                   default: None,
                  },
                  List {
                   elements: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (224, 41),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "package",
                        position: (224, 45),
                       },
                      ],
                     },
                     default: None,
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (224, 53),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "coreutils",
                        position: (224, 58),
                       },
                      ],
                     },
                     default: None,
                    },
                   ],
                   position: (224, 39),
                  },
                 ],
                 position: (224, 36),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "environment",
                   position: (225, 9),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Update,
                 operands: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "config",
                    position: (225, 23),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "networking",
                      position: (225, 30),
                     },
                     Raw {
                      content: "proxy",
                      position: (225, 41),
                     },
                     Raw {
                      content: "envVars",
                      position: (225, 47),
                     },
                    ],
                   },
                   default: None,
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "HOME",
                        position: (226, 11),
                       },
                      ],
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (226, 18),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "dataDir",
                         position: (226, 22),
                        },
                       ],
                      },
                      default: None,
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "NIX_REMOTE",
                        position: (227, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "daemon",
                        position: (227, 25),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (225, 58),
                  },
                 ],
                 position: (225, 55),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "preStart",
                   position: (232, 9),
                  },
                 ],
                },
                LetIn {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "sshDir",
                      position: (233, 11),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (233, 23),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (233, 27),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/.ssh",
                      position: (233, 35),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "tagStr",
                      position: (234, 11),
                     },
                    ],
                   },
                   Function {
                    argument: Some(
                     "name",
                    ),
                    arguments: FunctionArguments {
                     arguments: [],
                     ellipsis: false,
                    },
                    definition: Function {
                     argument: Some(
                      "value",
                     ),
                     arguments: FunctionArguments {
                      arguments: [],
                      ellipsis: false,
                     },
                     definition: IfThenElse {
                      predicate: FunctionApplication {
                       function: PropertyAccess {
                        expression: Variable {
                         identifier: "lib",
                         position: (235, 16),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "isList",
                           position: (235, 20),
                          },
                         ],
                        },
                        default: None,
                       },
                       arguments: [
                        Variable {
                         identifier: "value",
                         position: (235, 27),
                        },
                       ],
                      },
                      then: FunctionApplication {
                       function: PropertyAccess {
                        expression: Variable {
                         identifier: "lib",
                         position: (236, 18),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "concatStringsSep",
                           position: (236, 22),
                          },
                         ],
                        },
                        default: None,
                       },
                       arguments: [
                        String {
                         parts: [
                          Raw {
                           content: ",",
                           position: (236, 40),
                          },
                         ],
                        },
                        FunctionApplication {
                         function: PropertyAccess {
                          expression: Variable {
                           identifier: "builtins",
                           position: (236, 44),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "map",
                             position: (236, 53),
                            },
                           ],
                          },
                          default: None,
                         },
                         arguments: [
                          Function {
                           argument: Some(
                            "v",
                           ),
                           arguments: FunctionArguments {
                            arguments: [],
                            ellipsis: false,
                           },
                           definition: String {
                            parts: [
                             Expression {
                              expression: Variable {
                               identifier: "name",
                               position: (236, 64),
                              },
                             },
                             Raw {
                              content: "=",
                              position: (236, 69),
                             },
                             Expression {
                              expression: Variable {
                               identifier: "v",
                               position: (236, 72),
                              },
                             },
                            ],
                           },
                           position: (236, 58),
                          },
                          Variable {
                           identifier: "value",
                           position: (236, 77),
                          },
                         ],
                        },
                       ],
                      },
                      else_: String {
                       parts: [
                        Expression {
                         expression: Variable {
                          identifier: "name",
                          position: (237, 21),
                         },
                        },
                        Raw {
                         content: "=",
                         position: (237, 26),
                        },
                        Expression {
                         expression: Variable {
                          identifier: "value",
                          position: (237, 29),
                         },
                        },
                       ],
                      },
                      position: (235, 13),
                     },
                     position: (234, 26),
                    },
                    position: (234, 20),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "tagsStr",
                      position: (238, 11),
                     },
                    ],
                   },
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "lib",
                      position: (238, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "concatStringsSep",
                        position: (238, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: ",",
                        position: (238, 43),
                       },
                      ],
                     },
                     FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "lib",
                        position: (238, 47),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "mapAttrsToList",
                          position: (238, 51),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       Variable {
                        identifier: "tagStr",
                        position: (238, 66),
                       },
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (238, 73),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "tags",
                           position: (238, 77),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                    ],
                   },
                  ),
                 ],
                 target: BinaryOperation {
                  operator: Addition,
                  operands: [
                   FunctionApplication {
                    function: Variable {
                     identifier: "optionalString",
                     position: (240, 11),
                    },
                    arguments: [
                     BinaryOperation {
                      operator: NotEqualTo,
                      operands: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (240, 27),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "privateSshKeyPath",
                           position: (240, 31),
                          },
                         ],
                        },
                        default: None,
                       },
                       Variable {
                        identifier: "null",
                        position: (240, 52),
                       },
                      ],
                      position: (240, 49),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "mkdir -m 0700 -p \"",
                        position: (241, 1),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "sshDir",
                         position: (241, 33),
                        },
                       },
                       Raw {
                        content: "\"\ninstall -m600 \"",
                        position: (241, 40),
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "toString",
                          position: (242, 30),
                         },
                         arguments: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (242, 39),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "privateSshKeyPath",
                              position: (242, 43),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                        },
                       },
                       Raw {
                        content: "\" \"",
                        position: (242, 61),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "sshDir",
                         position: (242, 66),
                        },
                       },
                       Raw {
                        content: "/id_rsa\"\n",
                        position: (242, 73),
                       },
                      ],
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "cat > \"",
                      position: (244, 1),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (244, 22),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (244, 26),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/buildkite-agent.cfg\" <<EOF\ntoken=\"$(cat ",
                      position: (244, 34),
                     },
                     Expression {
                      expression: FunctionApplication {
                       function: Variable {
                        identifier: "toString",
                        position: (245, 28),
                       },
                       arguments: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (245, 37),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "tokenPath",
                            position: (245, 41),
                           },
                          ],
                         },
                         default: None,
                        },
                       ],
                      },
                     },
                     Raw {
                      content: ")\"\nname=\"",
                      position: (245, 51),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (246, 21),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "name",
                          position: (246, 25),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "\"\nshell=\"",
                      position: (246, 30),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (247, 22),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "shell",
                          position: (247, 26),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "\"\ntags=\"",
                      position: (247, 32),
                     },
                     Expression {
                      expression: Variable {
                       identifier: "tagsStr",
                       position: (248, 21),
                      },
                     },
                     Raw {
                      content: "\"\nbuild-path=\"",
                      position: (248, 29),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (249, 27),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (249, 31),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/builds\"\nhooks-path=\"",
                      position: (249, 39),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (250, 27),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "hooksPath",
                          position: (250, 31),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "\"\n",
                      position: (250, 41),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (251, 15),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "extraConfig",
                          position: (251, 19),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "\nEOF\n",
                      position: (251, 31),
                     },
                    ],
                   },
                  ],
                  position: (243, 14),
                 },
                 position: (232, 20),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceConfig",
                   position: (255, 9),
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "ExecStart",
                      position: (256, 13),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (256, 28),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (256, 32),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/buildkite-agent start --config ",
                      position: (256, 40),
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (256, 78),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (256, 82),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/buildkite-agent.cfg",
                      position: (256, 90),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "User",
                      position: (257, 13),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "buildkite-agent-",
                      position: (257, 21),
                     },
                     Expression {
                      expression: Variable {
                       identifier: "name",
                       position: (257, 39),
                      },
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "RestartSec",
                      position: (258, 13),
                     },
                    ],
                   },
                   Int {
                    value: 5,
                    position: (258, 26),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "Restart",
                      position: (259, 13),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "on-failure",
                      position: (259, 24),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "TimeoutSec",
                      position: (260, 13),
                     },
                    ],
                   },
                   Int {
                    value: 10,
                    position: (260, 26),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "TimeoutStopSec",
                      position: (262, 13),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "2 min",
                      position: (262, 31),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "KillMode",
                      position: (263, 13),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "mixed",
                      position: (263, 25),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (256, 11),
                },
               ),
              ],
              recursive: false,
              position: (221, 7),
             },
            ),
           ],
           recursive: false,
           position: (219, 51),
          },
          position: (219, 46),
         },
         position: (219, 40),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (268, 3),
        },
        Raw {
         content: "assertions",
         position: (268, 10),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mapAgents",
        position: (268, 23),
       },
       arguments: [
        Function {
         argument: Some(
          "name",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: Function {
          argument: Some(
           "cfg",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: List {
           elements: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "assertion",
                  position: (269, 9),
                 },
                ],
               },
               BinaryOperation {
                operator: LogicalOr,
                operands: [
                 BinaryOperation {
                  operator: EqualTo,
                  operands: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (269, 21),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hooksPath",
                       position: (269, 25),
                      },
                     ],
                    },
                    default: None,
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "hooksDir",
                     position: (269, 39),
                    },
                    arguments: [
                     Variable {
                      identifier: "cfg",
                      position: (269, 48),
                     },
                    ],
                   },
                  ],
                  position: (269, 35),
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "all",
                   position: (269, 56),
                  },
                  arguments: [
                   Function {
                    argument: Some(
                     "v",
                    ),
                    arguments: FunctionArguments {
                     arguments: [],
                     ellipsis: false,
                    },
                    definition: BinaryOperation {
                     operator: EqualTo,
                     operands: [
                      Variable {
                       identifier: "v",
                       position: (269, 64),
                      },
                      Variable {
                       identifier: "null",
                       position: (269, 69),
                      },
                     ],
                     position: (269, 66),
                    },
                    position: (269, 61),
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "attrValues",
                     position: (269, 76),
                    },
                    arguments: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (269, 87),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "hooks",
                         position: (269, 91),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                   },
                  ],
                 },
                ],
                position: (269, 53),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "message",
                  position: (270, 9),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "Options `services.buildkite-agents.",
                  position: (271, 1),
                 },
                 Expression {
                  expression: Variable {
                   identifier: "name",
                   position: (271, 48),
                  },
                 },
                 Raw {
                  content: ".hooksPath' and\n`services.buildkite-agents.",
                  position: (271, 53),
                 },
                 Expression {
                  expression: Variable {
                   identifier: "name",
                   position: (272, 40),
                  },
                 },
                 Raw {
                  content: ".hooks.<name>' are mutually exclusive.\n",
                  position: (272, 45),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (269, 7),
            },
           ],
           position: (268, 45),
          },
          position: (268, 40),
         },
         position: (268, 34),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "imports",
         position: (277, 3),
        },
       ],
      },
      List {
       elements: [
        FunctionApplication {
         function: Variable {
          identifier: "mkRemovedOptionModule",
          position: (278, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
               position: (278, 31),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "buildkite-agent",
               position: (278, 42),
              },
             ],
            },
           ],
           position: (278, 28),
          },
          String {
           parts: [
            Raw {
             content: "services.buildkite-agent has been upgraded from version 2 to version 3 and moved to an attribute set at services.buildkite-agents. Please consult the 20.03 release notes for more information.",
             position: (278, 61),
            },
           ],
          },
         ],
        },
       ],
       position: (277, 13),
      },
     ),
    ],
    recursive: false,
    position: (192, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}