Shopify / vscode-as

VSCode Language Client for AssemblyScript
MIT License
16 stars 6 forks source link

Installation issues #42

Open portasynthinca3 opened 2 years ago

portasynthinca3 commented 2 years ago

This extension installs the ERTS for Darwin on Linux and is thus unable to start the language server:

$ uname -a
Linux psi3-pc 5.15.4-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 21 Nov 2021 21:34:35 +0000 x86_64 GNU/Linux
$ file .vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/erts-11.1.8/bin/erlexec
.vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/erts-11.1.8/bin/erlexec: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

In addition to that, asls/releases/0.6.0/elixir links to /bin/sh in a weird way that doesn't work:

$ head --lines=1 .vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/elixir
#!/nix/store/kl013dwzxf67l4pfrx6x2d5q6pq9gf36-bash-4.4-p23/bin/sh

I'm not sure if this is an issue with this extension or asls, and I'm frankly not familiar with the AssemblyScript ecosystem yet.

dsyer commented 2 years ago

Probably a duplicate of #47? /nix/store/kl013... doesn't exist on my system either, so I think it's just a bug in the packaging of the extension?