Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: With(
   With {
    expression: Identifier(
     Identifier {
      id: "lib",
      span: Span {
       start: Position {
        line: 3,
        column: 6,
       },
       end: Position {
        line: 3,
        column: 9,
       },
      },
     },
    ),
    target: LetIn(
     LetIn {
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "cfg",
            span: Span {
             start: Position {
              line: 6,
              column: 3,
             },
             end: Position {
              line: 6,
              column: 6,
             },
            },
           },
          ),
         ],
         to: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "config",
             span: Span {
              start: Position {
               line: 6,
               column: 9,
              },
              end: Position {
               line: 6,
               column: 15,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "services",
              span: Span {
               start: Position {
                line: 6,
                column: 16,
               },
               end: Position {
                line: 6,
                column: 24,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "hail",
              span: Span {
               start: Position {
                line: 6,
                column: 25,
               },
               end: Position {
                line: 6,
                column: 29,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
        },
       ),
      ],
      target: Map(
       Map {
        recursive: false,
        bindings: [
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "options",
              span: Span {
               start: Position {
                line: 12,
                column: 3,
               },
               end: Position {
                line: 12,
                column: 10,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "services",
              span: Span {
               start: Position {
                line: 12,
                column: 11,
               },
               end: Position {
                line: 12,
                column: 19,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "hail",
              span: Span {
               start: Position {
                line: 12,
                column: 20,
               },
               end: Position {
                line: 12,
                column: 24,
               },
              },
             },
            ),
           ],
           to: Map(
            Map {
             recursive: false,
             bindings: [
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "enable",
                   span: Span {
                    start: Position {
                     line: 13,
                     column: 5,
                    },
                    end: Position {
                     line: 13,
                     column: 11,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 13,
                      column: 14,
                     },
                     end: Position {
                      line: 13,
                      column: 22,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 14,
                             column: 7,
                            },
                            end: Position {
                             line: 14,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 14,
                              column: 14,
                             },
                             end: Position {
                              line: 14,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "bool",
                             span: Span {
                              start: Position {
                               line: 14,
                               column: 20,
                              },
                              end: Position {
                               line: 14,
                               column: 24,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 15,
                             column: 7,
                            },
                            end: Position {
                             line: 15,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: Identifier(
                         Identifier {
                          id: "false",
                          span: Span {
                           start: Position {
                            line: 15,
                            column: 17,
                           },
                           end: Position {
                            line: 15,
                            column: 22,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 16,
                             column: 7,
                            },
                            end: Position {
                             line: 16,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 16,
                                column: 21,
                               },
                               end: Position {
                                line: 16,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 16,
                                 column: 25,
                                },
                                end: Position {
                                 line: 16,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           IndentedString(
                            IndentedString {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "        Enables the Hail Auto Update Service. Hail can automatically deploy artifacts\nbuilt by a Hydra Continous Integration server. A common use case is to provide\ncontinous deployment for single services or a full NixOS configuration.",
                                span: Span {
                                 start: Position {
                                  line: 17,
                                  column: 1,
                                 },
                                 end: Position {
                                  line: 19,
                                  column: 80,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 16,
                               column: 31,
                              },
                              end: Position {
                               line: 19,
                               column: 82,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 13,
                       column: 23,
                      },
                      end: Position {
                       line: 20,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "profile",
                   span: Span {
                    start: Position {
                     line: 21,
                     column: 5,
                    },
                    end: Position {
                     line: 21,
                     column: 12,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 21,
                      column: 15,
                     },
                     end: Position {
                      line: 21,
                      column: 23,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 22,
                             column: 7,
                            },
                            end: Position {
                             line: 22,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 22,
                              column: 14,
                             },
                             end: Position {
                              line: 22,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "str",
                             span: Span {
                              start: Position {
                               line: 22,
                               column: 20,
                              },
                              end: Position {
                               line: 22,
                               column: 23,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 23,
                             column: 7,
                            },
                            end: Position {
                             line: 23,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: String(
                         String_ {
                          parts: [
                           Raw(
                            PartRaw {
                             content: "hail-profile",
                             span: Span {
                              start: Position {
                               line: 23,
                               column: 18,
                              },
                              end: Position {
                               line: 23,
                               column: 30,
                              },
                             },
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 23,
                            column: 17,
                           },
                           end: Position {
                            line: 23,
                            column: 31,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 24,
                             column: 7,
                            },
                            end: Position {
                             line: 24,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 24,
                                column: 21,
                               },
                               end: Position {
                                line: 24,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 24,
                                 column: 25,
                                },
                                end: Position {
                                 line: 24,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "The name of the Nix profile used by Hail.",
                                span: Span {
                                 start: Position {
                                  line: 24,
                                  column: 32,
                                 },
                                 end: Position {
                                  line: 24,
                                  column: 73,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 24,
                               column: 31,
                              },
                              end: Position {
                               line: 24,
                               column: 74,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 21,
                       column: 24,
                      },
                      end: Position {
                       line: 25,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "hydraJobUri",
                   span: Span {
                    start: Position {
                     line: 26,
                     column: 5,
                    },
                    end: Position {
                     line: 26,
                     column: 16,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 26,
                      column: 19,
                     },
                     end: Position {
                      line: 26,
                      column: 27,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 27,
                             column: 7,
                            },
                            end: Position {
                             line: 27,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 27,
                              column: 14,
                             },
                             end: Position {
                              line: 27,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "str",
                             span: Span {
                              start: Position {
                               line: 27,
                               column: 20,
                              },
                              end: Position {
                               line: 27,
                               column: 23,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 28,
                             column: 7,
                            },
                            end: Position {
                             line: 28,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 28,
                                column: 21,
                               },
                               end: Position {
                                line: 28,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 28,
                                 column: 25,
                                },
                                end: Position {
                                 line: 28,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "The URI of the Hydra Job.",
                                span: Span {
                                 start: Position {
                                  line: 28,
                                  column: 32,
                                 },
                                 end: Position {
                                  line: 28,
                                  column: 57,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 28,
                               column: 31,
                              },
                              end: Position {
                               line: 28,
                               column: 58,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 26,
                       column: 28,
                      },
                      end: Position {
                       line: 29,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "netrc",
                   span: Span {
                    start: Position {
                     line: 30,
                     column: 5,
                    },
                    end: Position {
                     line: 30,
                     column: 10,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 30,
                      column: 13,
                     },
                     end: Position {
                      line: 30,
                      column: 21,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 31,
                             column: 7,
                            },
                            end: Position {
                             line: 31,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "types",
                              span: Span {
                               start: Position {
                                line: 31,
                                column: 14,
                               },
                               end: Position {
                                line: 31,
                                column: 19,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "nullOr",
                               span: Span {
                                start: Position {
                                 line: 31,
                                 column: 20,
                                },
                                end: Position {
                                 line: 31,
                                 column: 26,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           PropertyAccess(
                            PropertyAccess {
                             expression: Identifier(
                              Identifier {
                               id: "types",
                               span: Span {
                                start: Position {
                                 line: 31,
                                 column: 27,
                                },
                                end: Position {
                                 line: 31,
                                 column: 32,
                                },
                               },
                              },
                             ),
                             attribute_path: [
                              Raw(
                               PartRaw {
                                content: "path",
                                span: Span {
                                 start: Position {
                                  line: 31,
                                  column: 33,
                                 },
                                 end: Position {
                                  line: 31,
                                  column: 37,
                                 },
                                },
                               },
                              ),
                             ],
                             default: None,
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 32,
                             column: 7,
                            },
                            end: Position {
                             line: 32,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 32,
                                column: 21,
                               },
                               end: Position {
                                line: 32,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 32,
                                 column: 25,
                                },
                                end: Position {
                                 line: 32,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "The netrc file to use when fetching data from Hydra.",
                                span: Span {
                                 start: Position {
                                  line: 32,
                                  column: 32,
                                 },
                                 end: Position {
                                  line: 32,
                                  column: 84,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 32,
                               column: 31,
                              },
                              end: Position {
                               line: 32,
                               column: 85,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 33,
                             column: 7,
                            },
                            end: Position {
                             line: 33,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: Identifier(
                         Identifier {
                          id: "null",
                          span: Span {
                           start: Position {
                            line: 33,
                            column: 17,
                           },
                           end: Position {
                            line: 33,
                            column: 21,
                           },
                          },
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 30,
                       column: 22,
                      },
                      end: Position {
                       line: 34,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "package",
                   span: Span {
                    start: Position {
                     line: 35,
                     column: 5,
                    },
                    end: Position {
                     line: 35,
                     column: 12,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 35,
                      column: 15,
                     },
                     end: Position {
                      line: 35,
                      column: 23,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 36,
                             column: 7,
                            },
                            end: Position {
                             line: 36,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 36,
                              column: 14,
                             },
                             end: Position {
                              line: 36,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "package",
                             span: Span {
                              start: Position {
                               line: 36,
                               column: 20,
                              },
                              end: Position {
                               line: 36,
                               column: 27,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 37,
                             column: 7,
                            },
                            end: Position {
                             line: 37,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "pkgs",
                            span: Span {
                             start: Position {
                              line: 37,
                              column: 17,
                             },
                             end: Position {
                              line: 37,
                              column: 21,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "haskellPackages",
                             span: Span {
                              start: Position {
                               line: 37,
                               column: 22,
                              },
                              end: Position {
                               line: 37,
                               column: 37,
                              },
                             },
                            },
                           ),
                           Raw(
                            PartRaw {
                             content: "hail",
                             span: Span {
                              start: Position {
                               line: 37,
                               column: 38,
                              },
                              end: Position {
                               line: 37,
                               column: 42,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "defaultText",
                           span: Span {
                            start: Position {
                             line: 38,
                             column: 7,
                            },
                            end: Position {
                             line: 38,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: Identifier(
                           Identifier {
                            id: "literalExpression",
                            span: Span {
                             start: Position {
                              line: 38,
                              column: 21,
                             },
                             end: Position {
                              line: 38,
                              column: 38,
                             },
                            },
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "pkgs.haskellPackages.hail",
                                span: Span {
                                 start: Position {
                                  line: 38,
                                  column: 40,
                                 },
                                 end: Position {
                                  line: 38,
                                  column: 65,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 38,
                               column: 39,
                              },
                              end: Position {
                               line: 38,
                               column: 66,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 39,
                             column: 7,
                            },
                            end: Position {
                             line: 39,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 39,
                                column: 21,
                               },
                               end: Position {
                                line: 39,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 39,
                                 column: 25,
                                },
                                end: Position {
                                 line: 39,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "Hail package to use.",
                                span: Span {
                                 start: Position {
                                  line: 39,
                                  column: 32,
                                 },
                                 end: Position {
                                  line: 39,
                                  column: 52,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 39,
                               column: 31,
                              },
                              end: Position {
                               line: 39,
                               column: 53,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 35,
                       column: 24,
                      },
                      end: Position {
                       line: 40,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
             ],
             span: Span {
              start: Position {
               line: 12,
               column: 27,
              },
              end: Position {
               line: 41,
               column: 4,
              },
             },
            },
           ),
          },
         ),
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "config",
              span: Span {
               start: Position {
                line: 46,
                column: 3,
               },
               end: Position {
                line: 46,
                column: 9,
               },
              },
             },
            ),
           ],
           to: FunctionApplication(
            FunctionApplication {
             function: Identifier(
              Identifier {
               id: "mkIf",
               span: Span {
                start: Position {
                 line: 46,
                 column: 12,
                },
                end: Position {
                 line: 46,
                 column: 16,
                },
               },
              },
             ),
             arguments: [
              PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "cfg",
                  span: Span {
                   start: Position {
                    line: 46,
                    column: 17,
                   },
                   end: Position {
                    line: 46,
                    column: 20,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "enable",
                   span: Span {
                    start: Position {
                     line: 46,
                     column: 21,
                    },
                    end: Position {
                     line: 46,
                     column: 27,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
              Map(
               Map {
                recursive: false,
                bindings: [
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "systemd",
                      span: Span {
                       start: Position {
                        line: 47,
                        column: 5,
                       },
                       end: Position {
                        line: 47,
                        column: 12,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "services",
                      span: Span {
                       start: Position {
                        line: 47,
                        column: 13,
                       },
                       end: Position {
                        line: 47,
                        column: 21,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "hail",
                      span: Span {
                       start: Position {
                        line: 47,
                        column: 22,
                       },
                       end: Position {
                        line: 47,
                        column: 26,
                       },
                      },
                     },
                    ),
                   ],
                   to: Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 48,
                             column: 7,
                            },
                            end: Position {
                             line: 48,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: String(
                         String_ {
                          parts: [
                           Raw(
                            PartRaw {
                             content: "Hail Auto Update Service",
                             span: Span {
                              start: Position {
                               line: 48,
                               column: 22,
                              },
                              end: Position {
                               line: 48,
                               column: 46,
                              },
                             },
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 48,
                            column: 21,
                           },
                           end: Position {
                            line: 48,
                            column: 47,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "wants",
                           span: Span {
                            start: Position {
                             line: 49,
                             column: 7,
                            },
                            end: Position {
                             line: 49,
                             column: 12,
                            },
                           },
                          },
                         ),
                        ],
                        to: List(
                         List {
                          elements: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "network-online.target",
                                span: Span {
                                 start: Position {
                                  line: 49,
                                  column: 18,
                                 },
                                 end: Position {
                                  line: 49,
                                  column: 39,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 49,
                               column: 17,
                              },
                              end: Position {
                               line: 49,
                               column: 40,
                              },
                             },
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 49,
                            column: 15,
                           },
                           end: Position {
                            line: 49,
                            column: 42,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "wantedBy",
                           span: Span {
                            start: Position {
                             line: 50,
                             column: 7,
                            },
                            end: Position {
                             line: 50,
                             column: 15,
                            },
                           },
                          },
                         ),
                        ],
                        to: List(
                         List {
                          elements: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "multi-user.target",
                                span: Span {
                                 start: Position {
                                  line: 50,
                                  column: 21,
                                 },
                                 end: Position {
                                  line: 50,
                                  column: 38,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 50,
                               column: 20,
                              },
                              end: Position {
                               line: 50,
                               column: 39,
                              },
                             },
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 50,
                            column: 18,
                           },
                           end: Position {
                            line: 50,
                            column: 41,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "path",
                           span: Span {
                            start: Position {
                             line: 51,
                             column: 7,
                            },
                            end: Position {
                             line: 51,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: With(
                         With {
                          expression: Identifier(
                           Identifier {
                            id: "pkgs",
                            span: Span {
                             start: Position {
                              line: 51,
                              column: 19,
                             },
                             end: Position {
                              line: 51,
                              column: 23,
                             },
                            },
                           },
                          ),
                          target: List(
                           List {
                            elements: [
                             Identifier(
                              Identifier {
                               id: "nix",
                               span: Span {
                                start: Position {
                                 line: 51,
                                 column: 27,
                                },
                                end: Position {
                                 line: 51,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            span: Span {
                             start: Position {
                              line: 51,
                              column: 25,
                             },
                             end: Position {
                              line: 51,
                              column: 32,
                             },
                            },
                           },
                          ),
                          span: Span {
                           start: Position {
                            line: 51,
                            column: 14,
                           },
                           end: Position {
                            line: 51,
                            column: 32,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "environment",
                           span: Span {
                            start: Position {
                             line: 52,
                             column: 7,
                            },
                            end: Position {
                             line: 52,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: Map(
                         Map {
                          recursive: false,
                          bindings: [
                           KeyValue(
                            BindingKeyValue {
                             from: [
                              Raw(
                               PartRaw {
                                content: "HOME",
                                span: Span {
                                 start: Position {
                                  line: 53,
                                  column: 9,
                                 },
                                 end: Position {
                                  line: 53,
                                  column: 13,
                                 },
                                },
                               },
                              ),
                             ],
                             to: String(
                              String_ {
                               parts: [
                                Raw(
                                 PartRaw {
                                  content: "/var/lib/empty",
                                  span: Span {
                                   start: Position {
                                    line: 53,
                                    column: 17,
                                   },
                                   end: Position {
                                    line: 53,
                                    column: 31,
                                   },
                                  },
                                 },
                                ),
                               ],
                               span: Span {
                                start: Position {
                                 line: 53,
                                 column: 16,
                                },
                                end: Position {
                                 line: 53,
                                 column: 32,
                                },
                               },
                              },
                             ),
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 52,
                            column: 21,
                           },
                           end: Position {
                            line: 54,
                            column: 8,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "serviceConfig",
                           span: Span {
                            start: Position {
                             line: 55,
                             column: 7,
                            },
                            end: Position {
                             line: 55,
                             column: 20,
                            },
                           },
                          },
                         ),
                        ],
                        to: Map(
                         Map {
                          recursive: false,
                          bindings: [
                           KeyValue(
                            BindingKeyValue {
                             from: [
                              Raw(
                               PartRaw {
                                content: "ExecStart",
                                span: Span {
                                 start: Position {
                                  line: 56,
                                  column: 9,
                                 },
                                 end: Position {
                                  line: 56,
                                  column: 18,
                                 },
                                },
                               },
                              ),
                             ],
                             to: BinaryOperation(
                              BinaryOperation {
                               left: String(
                                String_ {
                                 parts: [
                                  Interpolation(
                                   PartInterpolation {
                                    expression: PropertyAccess(
                                     PropertyAccess {
                                      expression: Identifier(
                                       Identifier {
                                        id: "cfg",
                                        span: Span {
                                         start: Position {
                                          line: 56,
                                          column: 24,
                                         },
                                         end: Position {
                                          line: 56,
                                          column: 27,
                                         },
                                        },
                                       },
                                      ),
                                      attribute_path: [
                                       Raw(
                                        PartRaw {
                                         content: "package",
                                         span: Span {
                                          start: Position {
                                           line: 56,
                                           column: 28,
                                          },
                                          end: Position {
                                           line: 56,
                                           column: 35,
                                          },
                                         },
                                        },
                                       ),
                                      ],
                                      default: None,
                                     },
                                    ),
                                   },
                                  ),
                                  Raw(
                                   PartRaw {
                                    content: "/bin/hail --profile ",
                                    span: Span {
                                     start: Position {
                                      line: 56,
                                      column: 22,
                                     },
                                     end: Position {
                                      line: 56,
                                      column: 56,
                                     },
                                    },
                                   },
                                  ),
                                  Interpolation(
                                   PartInterpolation {
                                    expression: PropertyAccess(
                                     PropertyAccess {
                                      expression: Identifier(
                                       Identifier {
                                        id: "cfg",
                                        span: Span {
                                         start: Position {
                                          line: 56,
                                          column: 58,
                                         },
                                         end: Position {
                                          line: 56,
                                          column: 61,
                                         },
                                        },
                                       },
                                      ),
                                      attribute_path: [
                                       Raw(
                                        PartRaw {
                                         content: "profile",
                                         span: Span {
                                          start: Position {
                                           line: 56,
                                           column: 62,
                                          },
                                          end: Position {
                                           line: 56,
                                           column: 69,
                                          },
                                         },
                                        },
                                       ),
                                      ],
                                      default: None,
                                     },
                                    ),
                                   },
                                  ),
                                  Raw(
                                   PartRaw {
                                    content: " --job-uri ",
                                    span: Span {
                                     start: Position {
                                      line: 56,
                                      column: 22,
                                     },
                                     end: Position {
                                      line: 56,
                                      column: 81,
                                     },
                                    },
                                   },
                                  ),
                                  Interpolation(
                                   PartInterpolation {
                                    expression: PropertyAccess(
                                     PropertyAccess {
                                      expression: Identifier(
                                       Identifier {
                                        id: "cfg",
                                        span: Span {
                                         start: Position {
                                          line: 56,
                                          column: 83,
                                         },
                                         end: Position {
                                          line: 56,
                                          column: 86,
                                         },
                                        },
                                       },
                                      ),
                                      attribute_path: [
                                       Raw(
                                        PartRaw {
                                         content: "hydraJobUri",
                                         span: Span {
                                          start: Position {
                                           line: 56,
                                           column: 87,
                                          },
                                          end: Position {
                                           line: 56,
                                           column: 98,
                                          },
                                         },
                                        },
                                       ),
                                      ],
                                      default: None,
                                     },
                                    ),
                                   },
                                  ),
                                 ],
                                 span: Span {
                                  start: Position {
                                   line: 56,
                                   column: 21,
                                  },
                                  end: Position {
                                   line: 56,
                                   column: 100,
                                  },
                                 },
                                },
                               ),
                               operator: Addition,
                               right: FunctionApplication(
                                FunctionApplication {
                                 function: PropertyAccess(
                                  PropertyAccess {
                                   expression: Identifier(
                                    Identifier {
                                     id: "lib",
                                     span: Span {
                                      start: Position {
                                       line: 57,
                                       column: 13,
                                      },
                                      end: Position {
                                       line: 57,
                                       column: 16,
                                      },
                                     },
                                    },
                                   ),
                                   attribute_path: [
                                    Raw(
                                     PartRaw {
                                      content: "optionalString",
                                      span: Span {
                                       start: Position {
                                        line: 57,
                                        column: 17,
                                       },
                                       end: Position {
                                        line: 57,
                                        column: 31,
                                       },
                                      },
                                     },
                                    ),
                                   ],
                                   default: None,
                                  },
                                 ),
                                 arguments: [
                                  BinaryOperation(
                                   BinaryOperation {
                                    left: PropertyAccess(
                                     PropertyAccess {
                                      expression: Identifier(
                                       Identifier {
                                        id: "cfg",
                                        span: Span {
                                         start: Position {
                                          line: 57,
                                          column: 33,
                                         },
                                         end: Position {
                                          line: 57,
                                          column: 36,
                                         },
                                        },
                                       },
                                      ),
                                      attribute_path: [
                                       Raw(
                                        PartRaw {
                                         content: "netrc",
                                         span: Span {
                                          start: Position {
                                           line: 57,
                                           column: 37,
                                          },
                                          end: Position {
                                           line: 57,
                                           column: 42,
                                          },
                                         },
                                        },
                                       ),
                                      ],
                                      default: None,
                                     },
                                    ),
                                    operator: NotEqualTo,
                                    right: Identifier(
                                     Identifier {
                                      id: "null",
                                      span: Span {
                                       start: Position {
                                        line: 57,
                                        column: 46,
                                       },
                                       end: Position {
                                        line: 57,
                                        column: 50,
                                       },
                                      },
                                     },
                                    ),
                                   },
                                  ),
                                  String(
                                   String_ {
                                    parts: [
                                     Raw(
                                      PartRaw {
                                       content: " --netrc-file ",
                                       span: Span {
                                        start: Position {
                                         line: 57,
                                         column: 53,
                                        },
                                        end: Position {
                                         line: 57,
                                         column: 79,
                                        },
                                       },
                                      },
                                     ),
                                     Interpolation(
                                      PartInterpolation {
                                       expression: PropertyAccess(
                                        PropertyAccess {
                                         expression: Identifier(
                                          Identifier {
                                           id: "cfg",
                                           span: Span {
                                            start: Position {
                                             line: 57,
                                             column: 69,
                                            },
                                            end: Position {
                                             line: 57,
                                             column: 72,
                                            },
                                           },
                                          },
                                         ),
                                         attribute_path: [
                                          Raw(
                                           PartRaw {
                                            content: "netrc",
                                            span: Span {
                                             start: Position {
                                              line: 57,
                                              column: 73,
                                             },
                                             end: Position {
                                              line: 57,
                                              column: 78,
                                             },
                                            },
                                           },
                                          ),
                                         ],
                                         default: None,
                                        },
                                       ),
                                      },
                                     ),
                                    ],
                                    span: Span {
                                     start: Position {
                                      line: 57,
                                      column: 52,
                                     },
                                     end: Position {
                                      line: 57,
                                      column: 80,
                                     },
                                    },
                                   },
                                  ),
                                 ],
                                },
                               ),
                              },
                             ),
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 55,
                            column: 23,
                           },
                           end: Position {
                            line: 58,
                            column: 8,
                           },
                          },
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 47,
                       column: 29,
                      },
                      end: Position {
                       line: 59,
                       column: 6,
                      },
                     },
                    },
                   ),
                  },
                 ),
                ],
                span: Span {
                 start: Position {
                  line: 46,
                  column: 28,
                 },
                 end: Position {
                  line: 60,
                  column: 4,
                 },
                },
               },
              ),
             ],
            },
           ),
          },
         ),
        ],
        span: Span {
         start: Position {
          line: 7,
          column: 4,
         },
         end: Position {
          line: 61,
          column: 2,
         },
        },
       },
      ),
      span: Span {
       start: Position {
        line: 5,
        column: 1,
       },
       end: Position {
        line: 61,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 3,
      column: 1,
     },
     end: Position {
      line: 61,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 61,
    column: 2,
   },
  },
 },
)