3
0
Fork 0
forked from mirrors/nixpkgs
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
erlang-ls
erlfmt
hex
pc
pgsql
rebar3-nix
rebar3-proper
webdriver beam-modules: webdriver: rename version 2021-10-05 22:34:37 -03:00
build-erlang-mk.nix
build-hex.nix
build-mix.nix
build-rebar3.nix
default.nix
fetch-hex.nix
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
lib.nix
mix-configure-hook.sh
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