Fix release installation
[akkoma] / mix.exs
diff --git a/mix.exs b/mix.exs
index 4259f20b36c048021a4b8280e51b318c5ca40df0..4c5a776e07d27abf221f14b9ec3fc288ed176a83 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -59,8 +59,8 @@ defmodule Pleroma.Mixfile do
 
   def copy_nginx_config(%{path: target_path} = release) do
     File.cp!(
-      "./installation/pleroma.nginx",
-      Path.join([target_path, "installation", "pleroma.nginx"])
+      "./installation/nginx/akkoma.nginx",
+      Path.join([target_path, "installation", "akkoma.nginx"])
     )
 
     release
@@ -196,14 +196,14 @@ defmodule Pleroma.Mixfile do
       {:majic, "~> 1.0"},
       {:eblurhash, "~> 1.2.2"},
       {:open_api_spex, "~> 3.10"},
-      {:elastix, ">= 0.0.0"},
       {:search_parser,
        git: "https://github.com/FloatingGhost/pleroma-contrib-search-parser.git",
        ref: "08971a81e68686f9ac465cfb6661d51c5e4e1e7f"},
       {:nimble_parsec, "~> 1.0", override: true},
       {:phoenix_live_dashboard, "~> 0.6.2"},
       {:ecto_psql_extras, "~> 0.6"},
-      {:elasticsearch, "~> 1.0.0"},
+      {:elasticsearch,
+       git: "https://akkoma.dev/AkkomaGang/elasticsearch-elixir.git", ref: "main"},
 
       # indirect dependency version override
       {:plug, "~> 1.10.4", override: true},
@@ -348,6 +348,9 @@ defmodule Pleroma.Mixfile do
 # Pleroma: A lightweight social networking server
 # Copyright © 2017-#{year} Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
+# Akkoma: The cooler pleroma
+# Copyright © 2022-#{year} Akkoma Authors <https://akkoma.dev/>
+# SPDX-License-Identifier: AGPL-3.0-only
 
 ] |> String.replace("\n", "\\n")