nixpkgs/pkgs/development/beam-modules
Sergei Maximov 2a9336b426 elixir-ls: build LS using the same Elixir version that is used to run LS
The Elixir LS package in Nixpkgs by default used the latest Elixir
version available to compile and run Elixir LS. The user can build
a custom Elixir LS package with a different Elixir version:

    my-custom-elixir-ls = pkgs.elixir-ls.override {
      elixir = my-custom-elixir;
    };

But by doing so the user changes only the Elixir version used to
run Elixir LS; the Elixir version used to compile Elixir LS doesn't
change. As the result, the custom Elixir LS package uses a different
Elixir version at runtime than the Elixir version it was compiled with.

In order to be able to modify the Elixir version used at build time,
I changed `mixRelease` and `fetchMixDeps` to accept `elixir` and
`hex` as parameters (defaults to the latest Elixir and Hex packages).
2021-11-03 08:46:46 +09:00
..
elixir-ls elixir-ls: build LS using the same Elixir version that is used to run LS 2021-11-03 08:46:46 +09:00
elvis-erlang elvis: init at 1.0.1 2021-07-09 11:37:43 +09:00
erlang-ls erlang-ls: 0.19.0 -> 0.20.0 2021-10-05 10:53:57 +09:00
erlfmt rebar3-release: remove name attribute 2021-07-08 20:13:42 +09:00
hex beamPackages.hex: 0.21.1 -> 0.21.2 (#120178) 2021-04-23 14:14:33 +09:00
pc pc: 0.6.0 => 1.12.0 2021-05-18 05:40:58 +09:00
pgsql beamPackages: add missing lib where needed (#110708) 2021-01-24 21:00:19 +01:00
rebar3-nix rebar3-nix: 0.1.0 -> 0.1.1 2021-07-04 02:20:48 +09:00
rebar3-proper rebar3-proper: init at 0.12.1 2021-06-09 12:14:12 +09:00
webdriver beam-modules: webdriver: rename version 2021-10-05 22:34:37 -03:00
build-erlang-mk.nix beam: nixpkgs-fmt 2021-06-03 22:15:31 +09:00
build-hex.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
build-mix.nix mix: add build mix and mix-release configure-hook 2021-08-04 12:05:00 +09:00
build-rebar3.nix build-mix buildRebar3: strip out derivation for NIFs 2021-06-07 10:03:48 +09:00
default.nix elixir_ls: add update script 2021-09-02 10:55:45 +09:00
fetch-hex.nix fetch-hex: deprecate phases fix 2021-08-17 18:35:25 +09:00
fetch-mix-deps.nix elixir-ls: build LS using the same Elixir version that is used to run LS 2021-11-03 08:46:46 +09:00
fetch-rebar-deps.nix fetch-rebar-deps: phases deprecation fix 2021-08-17 18:35:25 +09:00
lib.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
mix-configure-hook.sh mix: add build mix and mix-release configure-hook 2021-08-04 12:05:00 +09:00
mix-release.nix elixir-ls: build LS using the same Elixir version that is used to run LS 2021-11-03 08:46:46 +09:00
rebar3-release.nix rebar3-release: remove name attribute 2021-07-08 20:13:42 +09:00