elixir-ls: rename elixir_ls to elixir-ls

authored by

superherointj and committed by
Yt
1f24ebb4 862746a3

+10 -8
+1 -1
doc/languages-frameworks/beam.section.md
··· 128 128 129 129 ###### FOD {#fixed-output-derivation} 130 130 131 - A fixed output derivation will download mix dependencies from the internet. To ensure reproducibility, a hash will be supplied. Note that mix is relatively reproducible. An FOD generating a different hash on each run hasn't been observed (as opposed to npm where the chances are relatively high). See [elixir_ls](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/beam-modules/elixir-ls/default.nix) for a usage example of FOD. 131 + A fixed output derivation will download mix dependencies from the internet. To ensure reproducibility, a hash will be supplied. Note that mix is relatively reproducible. An FOD generating a different hash on each run hasn't been observed (as opposed to npm where the chances are relatively high). See [elixir-ls](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/beam-modules/elixir-ls/default.nix) for a usage example of FOD. 132 132 133 133 Practical steps 134 134
+1 -1
pkgs/development/beam-modules/default.nix
··· 73 73 # Remove old versions of elixir, when the supports fades out: 74 74 # https://hexdocs.pm/elixir/compatibility-and-deprecations.html 75 75 76 - elixir_ls = callPackage ./elixir-ls { inherit elixir fetchMixDeps mixRelease; }; 76 + elixir-ls = callPackage ./elixir-ls { inherit elixir fetchMixDeps mixRelease; }; 77 77 78 78 lfe = lfe_1_3; 79 79 lfe_1_3 = lib'.callLFE ../interpreters/lfe/1.3.nix { inherit erlang buildRebar3 buildHex; };
+3 -3
pkgs/development/beam-modules/elixir-ls/default.nix
··· 23 23 sha256 = pinData.depsSha256; 24 24 }; 25 25 26 - # elixir_ls is an umbrella app 26 + # elixir-ls is an umbrella app 27 27 # override configurePhase to not skip umbrella children 28 28 configurePhase = '' 29 29 runHook preConfigure ··· 31 31 runHook postConfigure 32 32 ''; 33 33 34 - # elixir_ls require a special step for release 34 + # elixir-ls require a special step for release 35 35 # compile and release need to be performed together because 36 36 # of the no-deps-check requirement 37 37 buildPhase = '' 38 38 runHook preBuild 39 - mix do compile --no-deps-check, elixir_ls.release 39 + mix do compile --no-deps-check, elixir-ls.release 40 40 runHook postBuild 41 41 ''; 42 42
+1 -1
pkgs/development/beam-modules/elixir-ls/update.sh
··· 23 23 .\"sha256\" = \"$tarball_hash\" | \ 24 24 .\"depsSha256\" = \"\"" $directory/pin.json | sponge $directory/pin.json 25 25 26 - const new_mix_hash = $(nix-build -A elixir_ls.mixFodDeps 2>&1 | \ 26 + const new_mix_hash = $(nix-build -A elixir-ls.mixFodDeps 2>&1 | \ 27 27 tail -n 1 | \ 28 28 sd '\s+got:\s+' '') 29 29
+2
pkgs/top-level/aliases.nix
··· 416 416 417 417 electrum-dash = throw "electrum-dash has been removed from nixpkgs as the project is abandoned"; # Added 2022-01-01 418 418 419 + elixir_ls = elixir-ls; # Added 2023-03-20 420 + 419 421 # Emacs 420 422 emacs28NativeComp = emacs28; # Added 2022-06-08 421 423 emacs28Packages = emacs28.pkgs; # Added 2021-10-04
+1 -1
pkgs/top-level/all-packages.nix
··· 16583 16583 erlang erlangR25 erlangR24 erlangR23 erlangR22 erlangR21 16584 16584 erlang_odbc erlang_javac erlang_odbc_javac 16585 16585 elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 16586 - elixir_ls; 16586 + elixir-ls; 16587 16587 16588 16588 erlang_nox = beam_nox.interpreters.erlang; 16589 16589
+1 -1
pkgs/top-level/beam-packages.nix
··· 108 108 # access for example elixir built with different version of Erlang, use 109 109 # `beam.packages.erlangR24.elixir`. 110 110 inherit (self.packages.erlang) 111 - elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_ls; 111 + elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls; 112 112 113 113 inherit (self.packages.erlang) lfe lfe_1_3; 114 114 };