 
   def build(_install_spec, _opts) do
     Mix.Task.run("archive.build", [])
-    Mix.Local.name_for(:archive, Mix.Project.config)
+    Mix.Local.name_for(:archive, Mix.Project.config())
   end
 
   ### Private helpers

    with {:ok, [_comment, zip_first_file | _]} <- :zip.list_dir(contents),
         {:zip_file, zip_first_path, _, _, _, _} = zip_first_file,
         [zip_root_dir | _] = Path.split(zip_first_path) do

      Path.join(Path.dirname(ez_path), zip_root_dir)
    else
      _ ->
        Mix.raise "Installation failed: invalid archive file"
    end
  end


  def find_previous_versions(src) do
    app =
      src
      |> Mix.Local.archive_name()
      |> String.split("-")
      |> List.first()

    if app do
      archives(app) ++ archives(app <> "-*")
