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