Package Details: elixir-ls 0.6.5-1

Git Clone URL: https://aur.archlinux.org/elixir-ls.git (read-only, click to copy)
Package Base: elixir-ls
Description: A frontend-independent Language Server Protocol for Elixir
Upstream URL: https://github.com/elixir-lsp/elixir-ls
Licenses: Apache
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 2
Popularity: 0.36
First Submitted: 2019-08-31 11:56
Last Updated: 2021-02-09 22:47

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

S13ntist commented on 2021-01-02 11:48

Hi, For this to build in a clean chroot you need to fetch the rebar / hex deps first as well as add git to the makedepends, patch inlined below:

diff --git a/PKGBUILD b/PKGBUILD
index 53e9fd8..7d07d20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,7 @@ url='https://github.com/elixir-lsp/elixir-ls'
 license=('Apache')
 arch=('any')
 depends=('elixir' 'erlang-nox')
+makedepends=('git')
 source=("elixir-ls-${pkgver}.tar.gz::https://github.com/elixir-lsp/elixir-ls/archive/v${pkgver}.tar.gz")
 sha256sums=('6683f79144c14e0156e8a698f134897753ddacbc5ff1e475731bbe2a890c833c')

@@ -16,6 +17,11 @@ build() {

   export MIX_ENV=prod

+  #those deps need to be fetched for deps.get to work non interactively
+  export MIX_HOME="${srcdir}/mix-cache" # destination for hex / rebar
+  mix local.hex --force
+  mix local.rebar --force
+
   mix deps.get
   mix compile
 }