       |> Map.get(:opts, [])
       |> Keyword.get(:nerves, [])
 
-    %Package{
+    %__MODULE__{
       app: app,
       type: type,
       env: env,

  Nerves system or Nerves toolchain. For more details, see the Nerves
  [system documentation](https://hexdocs.pm/nerves/systems.html#package-configuration)
  """

  defstruct app: nil,
            path: nil,

            compilers: [],
            dep_opts: [],
            config: []

  @type t :: %__MODULE__{
          app: atom,
