Package Details: elixir-ls 0.28.1-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-2.0
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 8
Popularity: 0.047989
First Submitted: 2019-08-31 11:56 (UTC)
Last Updated: 2025-05-24 16:11 (UTC)

Latest Comments

0m3 commented on 2025-05-26 16:21 (UTC)

Hello, @KokaKiwi.

❯ yay -Syu
...
==> Starting build()...                                                         
==> language_server                                                             
* creating /home/user/.cache/yay/elixir-ls/src/mix-cache/archives/hex-2.2.1     
* Getting elixir_sense (https://github.com/elixir-lsp/elixir_sense.git - 5965af7e7a1b743f0c2c475fa2215ec2b23f70c5)
...                                                                             
* Getting jason_v (https://github.com/elixir-lsp/jason.git - f1c10fa9c445cb9f300266122ef18671054b2330)
...                                                                             
* Getting dialyxir_vendored (https://github.com/elixir-lsp/dialyxir.git - f8f64cfb6797c518294687e7c03ae817bacbc6ee)
...                                                                             
* Getting erlex_vendored (https://github.com/elixir-lsp/erlex.git - c0e448db27bcbb3f369861d13e3b0607ed37048d)
...                                                                             
* Getting erl2ex_vendored (https://github.com/elixir-lsp/erl2ex.git - 073ac6b9a44282e718b6050c7b27cedf9217a12a)
...                                                                             
* Getting path_glob_vendored (https://github.com/elixir-lsp/path_glob.git - 965350dc41def7be4a70a23904195c733a2ecc84)
...                                                                             
Resolving Hex dependencies...                                                   
Resolution completed in 0.038s                                                  
Unchanged:                                                                      
  benchee 1.1.0                                                                 
  deep_merge 1.0.0                                                              
  nimble_parsec 1.1.0                                                           
  patch 0.12.0                                                                  
  statistex 1.0.0                                                               
  stream_data 0.5.0                                                             
* Getting stream_data (Hex package)                                             
* Getting patch (Hex package)                                                   
* Getting benchee (Hex package)                                                 
* Getting deep_merge (Hex package)                                              
* Getting statistex (Hex package)                                               
* Getting nimble_parsec (Hex package)                                           
==> jason_v                                                                     
Compiling 10 files (.ex)                                                        
Generated jason_v app                                                           
==> elixir_sense                                                                
Compiling 1 file (.yrl)                                                         
Compiling 5 files (.erl)                                                        
Compiling 88 files (.ex)                                                        

== Compilation error in file lib/elixir_sense/core/parser.ex ==                 
** (ArgumentError) cannot escape #Reference<0.200774788.701366277.92943>. The supported values are: lists, tuples, maps, atoms, numbers, bitstrings, PIDs and remote functions in the format &Mod.fun/arity
    (elixir 1.19.0-dev) src/elixir_quote.erl:542: :elixir_quote.argument_error/1
    (elixir 1.19.0-dev) src/elixir_quote.erl:450: :elixir_quote.do_quote_simple_list/3
    (elixir 1.19.0-dev) src/elixir_quote.erl:450: :elixir_quote.do_quote_simple_list/3
    (elixir 1.19.0-dev) src/elixir_quote.erl:150: :elixir_quote.do_escape/2     
    (elixir 1.19.0-dev) src/elixir_quote.erl:381: :elixir_quote.do_quote/2      
    (elixir 1.19.0-dev) src/elixir_quote.erl:450: :elixir_quote.do_quote_simple_list/3
    (elixir 1.19.0-dev) src/elixir_quote.erl:450: :elixir_quote.do_quote_simple_list/3
    (elixir 1.19.0-dev) src/elixir_quote.erl:163: :elixir_quote.do_escape/2     
could not compile dependency :elixir_sense, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile elixir_sense --force", update it with "mix deps.update elixir_sense" or clean it with "mix deps.clean elixir_sense"
==> ERROR: A failure occurred in build().                                       
    Aborting...                                                                 
 -> error making: elixir-ls-exit status 4                                       
 -> Failed to install the following packages. Manual intervention is required:  
elixir-ls - exit status 4

kemelzaidan commented on 2025-02-11 21:45 (UTC)

Falling to build:

 -> No AUR package found for erlang-core
 -> No AUR package found for erlang-asn1
 -> No AUR package found for erlang-public_key
 -> No AUR package found for erlang-ssl
 -> No AUR package found for erlang-parsetools
 -> could not find all required packages: erlang-core
could not find all required packages: erlang-asn1
could not find all required packages: erlang-public_key
could not find all required packages: erlang-ssl
could not find all required packages: erlang-parsetools

kainlite commented on 2024-02-20 03:21 (UTC)

if you are facing this error:

unknown command: escript. Perhaps you have to reshim?|

you probably have asdf installed, the solution is to export the PATH without the asdf binaries in the build section of the package so it uses the system-wide installed version

byronalley commented on 2023-12-27 21:01 (UTC)

The old release has been deprecated in favour of release2 and I found it wouldn't compile for me with elixir 1.16 / otp 26.2 without changing line 36 accordingly:

mix elixir_ls.release2 -o "$pkgdir"/usr/lib/$pkgname

YrGVyFszGuSBeVLK commented on 2023-10-13 01:44 (UTC) (edited on 2023-10-13 01:47 (UTC) by YrGVyFszGuSBeVLK)

unknown command: escript. Perhaps you have to reshim? ==> ERROR: A failure occurred in build().

rubin55 commented on 2023-06-20 18:22 (UTC)

Hey It would be great if you can update to v0.15.0 which came out yesterday! I also sent a message to demize asking if he can upgrade elixir in extras to v1.15.0. Thanks for the great package!

S13ntist commented on 2021-01-02 11:48 (UTC)

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
 }