From 5b145d3e199458f8bf02d97307402134fe2ca533 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Mon, 17 Nov 2025 12:42:01 -0500 Subject: [PATCH] elixir-ls: 0.29.3 -> 0.30.0 Changelog: https://github.com/elixir-lsp/elixir-ls/releases/tag/v0.30.0 --- pkgs/development/beam-modules/elixir-ls/default.nix | 5 +++-- pkgs/development/beam-modules/elixir-ls/launch.sh.patch | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/beam-modules/elixir-ls/default.nix b/pkgs/development/beam-modules/elixir-ls/default.nix index 8e8cd09c72c7..86fc4a91b1c2 100644 --- a/pkgs/development/beam-modules/elixir-ls/default.nix +++ b/pkgs/development/beam-modules/elixir-ls/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "elixir-ls"; - version = "0.29.3"; + version = "0.30.0"; src = fetchFromGitHub { owner = "elixir-lsp"; repo = "elixir-ls"; rev = "v${version}"; - hash = "sha256-ikx0adlDrkUpMXPEbPtIsb2/1wcOt1jLwciVdBEKnss="; + hash = "sha256-GtkFuof60cOTlHuhcwCnIVtGx6KlHrcazTa/UjAIGAQ="; }; patches = [ @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/elixir-lsp/elixir-ls"; + changelog = "https://github.com/elixir-lsp/elixir-ls/releases/tag/v${version}"; description = '' A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol" diff --git a/pkgs/development/beam-modules/elixir-ls/launch.sh.patch b/pkgs/development/beam-modules/elixir-ls/launch.sh.patch index 1e370ef0233e..59f12bbccbf7 100644 --- a/pkgs/development/beam-modules/elixir-ls/launch.sh.patch +++ b/pkgs/development/beam-modules/elixir-ls/launch.sh.patch @@ -1,5 +1,5 @@ diff --git c/scripts/launch.sh w/scripts/launch.sh -index d9c33952..8bc5c382 100755 +index 524f2294..bbea062d 100755 --- c/scripts/launch.sh +++ w/scripts/launch.sh @@ -1,114 +1,4 @@ @@ -118,7 +118,7 @@ index d9c33952..8bc5c382 100755 # In case that people want to tweak the path, which Elixir to use, or # whatever prior to launching the language server or the debug adapter, we -@@ -127,29 +17,22 @@ fi +@@ -127,12 +17,8 @@ fi # script so we can correctly configure the Erlang library path to # include the local .ez files, and then do what we were asked to do. @@ -131,6 +131,9 @@ index d9c33952..8bc5c382 100755 +SCRIPT=$(readlink -f "$0") +SCRIPTPATH=$(dirname "$SCRIPT")/../scripts + # Unset MIX_OS_DEPS_COMPILE_PARTITION_COUNT as it pollutes stdout + # breaking LSP protocol. See https://github.com/elixir-lsp/elixir-ls/issues/1195 +@@ -141,19 +27,16 @@ unset MIX_OS_DEPS_COMPILE_PARTITION_COUNT export MIX_ENV=prod # Mix.install prints to stdout and reads from stdin # we need to make sure it doesn't interfere with LSP/DAP