mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
erlang-ls: 0.48.0 -> 0.51.0
This commit is contained in:
parent
def9bae3ef
commit
a44fef7dee
@ -350,12 +350,14 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
|||||||
This means that configuration now has to be done using [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) instead of command line arguments.
|
This means that configuration now has to be done using [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) instead of command line arguments.
|
||||||
This has the further implication that the `livebook` service configuration has changed:
|
This has the further implication that the `livebook` service configuration has changed:
|
||||||
|
|
||||||
- The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter.
|
- The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter.
|
||||||
Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead.
|
Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead.
|
||||||
|
|
||||||
- The `crystal` package has been updated to 1.11.x, which has some breaking changes.
|
- The `crystal` package has been updated to 1.11.x, which has some breaking changes.
|
||||||
Refer to crystal's changelog for more information. ([v1.10](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1100-2023-10-09), [v1.11](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1110-2024-01-08))
|
Refer to crystal's changelog for more information. ([v1.10](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1100-2023-10-09), [v1.11](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1110-2024-01-08))
|
||||||
|
|
||||||
|
- The `erlang-ls` package no longer ships the `els_dap` binary as of v0.51.0.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-24.05-notable-changes}
|
## Other Notable Changes {#sec-release-24.05-notable-changes}
|
||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper
|
{ fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper
|
||||||
, stdenv, writeScript, lib, erlang }:
|
, stdenv, writeScript, lib, erlang }:
|
||||||
let
|
let
|
||||||
version = "0.48.0";
|
version = "0.51.0";
|
||||||
owner = "erlang-ls";
|
owner = "erlang-ls";
|
||||||
repo = "erlang_ls";
|
repo = "erlang_ls";
|
||||||
deps = import ./rebar-deps.nix {
|
deps = import ./rebar-deps.nix {
|
||||||
@ -24,7 +24,7 @@ rebar3Relx {
|
|||||||
inherit version;
|
inherit version;
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner repo;
|
inherit owner repo;
|
||||||
sha256 = "sha256-QwsN/P2FBuhIS/vRlrdvokQS6G77kkZ2Rg5rwNc36Jg=";
|
hash = "sha256-2gSDfYGm7XVeEn0xEwuvk8y1z8P2/q86hmNCkK6w2C0=";
|
||||||
rev = version;
|
rev = version;
|
||||||
};
|
};
|
||||||
releaseType = "escript";
|
releaseType = "escript";
|
||||||
@ -46,11 +46,7 @@ rebar3Relx {
|
|||||||
'';
|
'';
|
||||||
# tests seem to be a bit flaky on darwin, skip them for now
|
# tests seem to be a bit flaky on darwin, skip them for now
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
installPhase = ''
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
mkdir -p $out/bin
|
|
||||||
cp _build/default/bin/erlang_ls $out/bin/
|
|
||||||
cp _build/dap/bin/els_dap $out/bin/
|
|
||||||
'';
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/erlang-ls/erlang_ls";
|
homepage = "https://github.com/erlang-ls/erlang_ls";
|
||||||
description = "The Erlang Language Server";
|
description = "The Erlang Language Server";
|
||||||
|
@ -138,12 +138,12 @@ let
|
|||||||
};
|
};
|
||||||
erlfmt = builder {
|
erlfmt = builder {
|
||||||
name = "erlfmt";
|
name = "erlfmt";
|
||||||
version = "git";
|
version = "1.3.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gomoripeti";
|
owner = "WhatsApp";
|
||||||
repo = "erlfmt";
|
repo = "erlfmt";
|
||||||
rev = "d4422d1fd79a73ef534c2bcbe5b5da4da5338833";
|
sha256 = "sha256-fVjEVmCnoofnfcxwBk0HI4adO0M6QOshP3uZrecZ9vM=";
|
||||||
sha256 = "07jp4g6a41w7318lh8ndsvgivkj0ahz3spnrsnx4cqkdb97yjaid";
|
rev = "v1.3.0";
|
||||||
};
|
};
|
||||||
beamDeps = [ ];
|
beamDeps = [ ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user