Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #279591 from MarkoMin/update/erlang-ls

erlang-ls: 0.48.0 -> 0.51.0

authored by Weijia Wang and committed by GitHub 8aedeffd 7a4d4a55

+10 -12
+3 -1
nixos/doc/manual/release-notes/rl-2405.section.md
··· 381 381 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. 382 382 This has the further implication that the `livebook` service configuration has changed: 383 383 384 - - The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter. 384 + - The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter. 385 385 Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead. 386 386 387 387 - The `crystal` package has been updated to 1.11.x, which has some breaking changes. 388 388 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)) 389 + 390 + - The `erlang-ls` package no longer ships the `els_dap` binary as of v0.51.0. 389 391 390 392 ## Other Notable Changes {#sec-release-24.05-notable-changes} 391 393
+3 -7
pkgs/development/beam-modules/erlang-ls/default.nix
··· 1 1 { fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper 2 2 , stdenv, writeScript, lib, erlang }: 3 3 let 4 - version = "0.48.0"; 4 + version = "0.51.0"; 5 5 owner = "erlang-ls"; 6 6 repo = "erlang_ls"; 7 7 deps = import ./rebar-deps.nix { ··· 24 24 inherit version; 25 25 src = fetchFromGitHub { 26 26 inherit owner repo; 27 - sha256 = "sha256-QwsN/P2FBuhIS/vRlrdvokQS6G77kkZ2Rg5rwNc36Jg="; 27 + hash = "sha256-2gSDfYGm7XVeEn0xEwuvk8y1z8P2/q86hmNCkK6w2C0="; 28 28 rev = version; 29 29 }; 30 30 releaseType = "escript"; ··· 46 46 ''; 47 47 # tests seem to be a bit flaky on darwin, skip them for now 48 48 doCheck = !stdenv.isDarwin; 49 - installPhase = '' 50 - mkdir -p $out/bin 51 - cp _build/default/bin/erlang_ls $out/bin/ 52 - cp _build/dap/bin/els_dap $out/bin/ 53 - ''; 49 + installFlags = [ "PREFIX=$(out)" ]; 54 50 meta = with lib; { 55 51 homepage = "https://github.com/erlang-ls/erlang_ls"; 56 52 description = "The Erlang Language Server";
+4 -4
pkgs/development/beam-modules/erlang-ls/rebar-deps.nix
··· 138 138 }; 139 139 erlfmt = builder { 140 140 name = "erlfmt"; 141 - version = "git"; 141 + version = "1.3.0"; 142 142 src = fetchFromGitHub { 143 - owner = "gomoripeti"; 143 + owner = "WhatsApp"; 144 144 repo = "erlfmt"; 145 - rev = "d4422d1fd79a73ef534c2bcbe5b5da4da5338833"; 146 - sha256 = "07jp4g6a41w7318lh8ndsvgivkj0ahz3spnrsnx4cqkdb97yjaid"; 145 + sha256 = "sha256-fVjEVmCnoofnfcxwBk0HI4adO0M6QOshP3uZrecZ9vM="; 146 + rev = "v1.3.0"; 147 147 }; 148 148 beamDeps = [ ]; 149 149 };