Commit graph

255 commits

Author SHA1 Message Date
Weijia Wang 8aedeffd13
Merge pull request #279591 from MarkoMin/update/erlang-ls
erlang-ls: 0.48.0 -> 0.51.0
2024-04-06 14:01:46 +02:00
Barry Moore 41e52bde8b ex_doc: init at 0.31.2 2024-04-02 13:48:05 -04:00
Marko Mindek a44fef7dee erlang-ls: 0.48.0 -> 0.51.0 2024-04-02 17:09:32 +02:00
happysalada 04359d4f30 elixir: 1.15 -> 1.16 2024-03-27 17:31:28 -04:00
Adam Stephens 3cc34c0d9c
elixir-ls: fix building with elixir_1_16 2024-03-27 10:51:08 -04:00
Joshua Trees cebca8587a elixir-ls: 0.19.0 -> 0.20.0 2024-03-26 11:23:12 +01:00
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Philip Munksgaard bea4776f99
elixir-ls: 0.18.1 -> 0.19.0 2024-01-22 10:19:19 +01:00
Weijia Wang 3ede90c4bd
Merge pull request #274278 from r-ryantm/auto-update/erlfmt
erlfmt: 1.2.0 -> 1.3.0
2024-01-03 16:36:32 +01:00
Philip Munksgaard c6edf4fe49
elixir-ls: 1.17.10 -> 1.18.1
elixir-ls 1.18.0 changed the name of the `debugger.sh` (which we call
`elixir-debugger`) script to `debug_adapter.sh`, so the new name in this package
is `elixir-debug-adapter`.
2023-12-28 15:29:21 +01:00
Shane Sveller 45f7246016
elixir_1_16: init at 1.16.0
https://elixir-lang.org/blog/2023/12/22/elixir-v1-16-0-released/
https://github.com/elixir-lang/elixir/blob/v1.16.0/CHANGELOG.md#changelog-for-elixir-v116
2023-12-22 11:07:43 -06:00
R. Ryantm 217b470a60 erlfmt: 1.2.0 -> 1.3.0 2023-12-14 19:03:01 +00:00
Mathew Polzin 2d5053fca3 beamPackages.mixRelease: Make determinism toggleable 2023-12-08 07:23:35 +00:00
c4710n c865c66216 beamPackages.buildMix: remove erlang references from output 2023-12-08 07:23:35 +00:00
c4710n e924d0f542 beamPackages.mixRelease: remove erlang references from output 2023-12-08 07:23:35 +00:00
Matt Polzin 4600a9d607 beamPackages.mixRelease: deterministic erlang builds 2023-12-08 07:23:35 +00:00
Joshua Trees d5eddab5b5 elixir-ls: 0.17.3 -> 0.17.10 2023-11-20 13:54:13 +00:00
Zeke Dou 993c8f162d
mixRelease: improve the implementation (#266397)
* mixRelease: format code by nixpkgs-format

* mixRelease: investigate why erlang is referenced in resulting derivation

* mixRelease: organize nativeBuildInputs and buildInputs

It:
+ organizes `nativeBuildInputs` in a structured way.
+ moves `builtins.attrValues mixNixDeps` to `nativeBuildInputs`, because it's only used in compile-time

* mixRelease: remove current attempt for removing erlang references in resulting derivation

As said in the comment about "remove erlang references in resulting
derivation", for now, we don't have a robust method to do that.

Although these removed code did some work, they did not achieve the
final goal - remove erlang references in resulting derivation.
Therefore, it is better to remove them and provide future implementation
with a clean foundation.

> If you want to find these old codes, you can also retrieve them from
> the git history.

* mixRelease: remove all files for Microsoft Windows

* mixRelease: add new option - `removeCookie`

* mixRelease: polish comments

+ Capitalize the sentences.
+ Add punctuation marks.
+ Format a little code.

* mixRelease: wrap programs in $out/bin with their runtime deps

* mixRelease: commit what happysalada suggests

---------

Co-authored-by: c4710n <c4710n@users.noreply.github.com>
2023-11-11 12:15:07 +00:00
outfoxxed 9b1c922663
fix: only substitute ERTS for escript builds in rebar3Relx (#266215)
* fix: only substitute ERTS for escript builds in rebar3Relx

Previously beamPackages.rebar3Relx substituted references to erlang
for all builds, which only works for escript builds.

Fixes #261354

* doc: add comment mentioning fixed issue
2023-11-09 16:39:30 +00:00
Alexandru Scvortov cbbe57bc52 elixir: make 1.15 default and pin existing pkgs to 1.14 2023-11-02 20:16:00 +00:00
Joshua Trees ab7b4c43eb elixir-ls: 0.17.2 -> 0.17.3 2023-10-25 10:00:07 +00:00
Joshua Trees cf5a26fb2a elixir-ls: 0.17.1 -> 0.17.2 2023-10-24 10:08:07 +00:00
Joshua Trees 7384a06fc9 elixir-ls: 0.16.0 -> 0.17.1 2023-10-18 09:48:26 +00:00
Justin Wood d5df7fc87f elixir-ls: Include the debugger 2023-10-03 11:52:41 +00:00
Adam Stephens fcbfef1e43 buildMix: copy package.json to support phoenix builds 2023-09-14 08:24:16 +00:00
Kerstin Humm e5b6a21a70 beam/buildMix: add appConfigPath arg
This is added for Mobilizon to be able to let it's dependencies read
it's config directory
2023-09-07 08:59:40 +00:00
Matt Moriarity 1ce066f6f9 elixir-ls: 0.15.1 -> 0.16.0 2023-09-07 00:29:32 +00:00
Weijia Wang 95dd3700c9
Merge pull request #252960 from code-supply/utf8-mixRelease
mixRelease: use C.UTF-8 locale
2023-09-06 01:06:22 +02:00
Andrew Bruce 87ee7d31d4 mixRelease: use C.UTF-8 locale
Avoid the following during mix releases:

```
warning: the VM is running with native name encoding of latin1 which may
cause Elixir to malfunction as it expects utf8. Please ensure your
locale is set to UTF-8 (which can be verified by running "locale" in
your shell)
```
2023-09-02 16:36:04 +01:00
Andrew Bruce 56f1e95e09 buildMix: use C.UTF-8 locale
Avoid the following during mix builds:

warning: the VM is running with native name encoding of latin1 which may
cause Elixir to malfunction as it expects utf8.
2023-09-02 12:14:21 +01:00
Matt Moriarity 001c0936da elixir-ls: meta.mainProgram 2023-08-27 20:20:35 -06:00
R. Ryantm 03faf44a8a elvis-erlang: 1.1.0 -> 3.0.1 2023-08-05 14:03:34 +00:00
R. Ryantm cbb6a1bae3 erlang-ls: 0.47.1 -> 0.48.0 2023-07-11 15:11:33 +00:00
Shane Sveller b5eafe654a elixir_ls: 0.14.6 -> 0.15.1
First release with support for Erlang/OTP 26. 26.0.2 or later required.
https://github.com/elixir-lsp/elixir-ls/releases/tag/v0.15.1
https://github.com/elixir-lsp/elixir-ls/issues/886
https://github.com/elixir-lsp/elixir-ls/pull/923
2023-07-03 09:12:17 +08:00
Shane Sveller ba36bdc1ea elixir_1_15: init at 1.15.0 2023-06-19 10:53:45 -04:00
R. Ryantm 58feedd1df erlang-ls: 0.46.2 -> 0.47.1 2023-06-05 23:04:27 +00:00
happysalada 6a050b80fa fetchMixDeps: transition to hash 2023-06-05 09:29:32 -04:00
Kerstin 872987d040
beam/mixRelease: default stripDebug to false due frequent runtime errors (#232107)
This flag appears to cause issues in 3 out 4 users of mixRelease in
Nixpkgs, plus Mobilizon, which isn't merged yet. It might be safer to
set it to fals for now, as the runtime error messages produced by it are
quite cryptic.
2023-05-16 10:50:34 +02:00
happysalada 0d0f783de2 elixir-ls: 0.14.5 -> 0.14.6 2023-05-14 13:26:38 -04:00
Alexandre Pereira de85369ecd
elixir-ls: 0.13.0 -> 0.14.5
first pull request !
2023-04-23 02:47:17 +01:00
R. Ryantm 9017b44196 erlfmt: 1.1.0 -> 1.2.0 2023-03-29 03:10:34 +00:00
Gaetan Lepage 43c964b1be elixir-ls: fix build 2023-03-23 09:25:46 +01:00
Weijia Wang a9edfe8c78 lfe: 1.3 -> 2.1.1 2023-03-21 22:20:56 +02:00
superherointj 1f24ebb428 elixir-ls: rename elixir_ls to elixir-ls 2023-03-20 17:57:35 -04:00
David Houston 9d6d028f2b
erlang-ls: Set meta.mainProgram
The erlang language server's primary binary is `erlang_ls`, just like
the repository name, but this package sets the package name to
`erlang-ls` without also either aliasing the binary or setting
`meta.mainProgram`. Setting `meta.mainProgram` to `erlang_ls` should
allow the use of `lib.getExe`.
2023-03-18 08:08:48 -04:00
Domen Kožar 06e575573c erlang-ls: fix build 2023-03-13 11:24:58 +00:00
Elliott Clark 681143012d beamPackages.hex: 1.0.1 -> 2.0.6 2023-03-07 17:50:43 -05:00
R. Ryantm 29fe30e1f7 erlang-ls: 0.46.1 -> 0.46.2 2023-02-25 13:35:35 +00:00
Ryan Rasti be1f8ec4f5 fetchHex produces outputs that mix will accept 2023-02-17 20:50:47 -05:00
superherointj 2ea8b001f6 beam/fetch-mix-deps: replace mixEnv with MIX_ENV
Currently, when fetchMixDeps is executed without mixEnv argument.
"mixEnv" envvar is empty at installPhase, instead of having value "prod".
This happens because optional attrs values are not included in @attrs variable.
Thrus being necessary to replace mixEnv for MIX_ENV, which holds value "prod".

Reference: https://github.com/NixOS/nixpkgs/pull/216214#issuecomment-1434737238
2023-02-17 17:47:22 -05:00