summary refs log tree commit diff
path: root/pkgs/development/beam-modules
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-05-20 20:31:03 +0900
committerRaphael Megzari <raphael@megzari.com>2021-05-24 10:14:17 +0900
commitaa86fdcf85ad282be0478711343c5a77fa4f5ce2 (patch)
treed249767e05e144d83611eb3a5f20bea52c54e614 /pkgs/development/beam-modules
parentfc6084c0aff25446f925e6587ec193aae2d01ee9 (diff)
downloadnixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar.gz
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar.bz2
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar.lz
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar.xz
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.tar.zst
nixpkgs-aa86fdcf85ad282be0478711343c5a77fa4f5ce2.zip
elixir: default to 1.12; init 1.12
Diffstat (limited to 'pkgs/development/beam-modules')
-rw-r--r--pkgs/development/beam-modules/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix
index 601505e1f48..8fe7de96b24 100644
--- a/pkgs/development/beam-modules/default.nix
+++ b/pkgs/development/beam-modules/default.nix
@@ -40,7 +40,12 @@ let
       erlang-ls = callPackage ./erlang-ls { };
 
       # BEAM-based languages.
-      elixir = elixir_1_11;
+      elixir = elixir_1_12;
+
+      elixir_1_12 = lib'.callElixir ../interpreters/elixir/1.12.nix {
+        inherit erlang;
+        debugInfo = true;
+      };
 
       elixir_1_11 = lib'.callElixir ../interpreters/elixir/1.11.nix {
         inherit erlang;
@@ -62,6 +67,8 @@ let
         debugInfo = true;
       };
 
+      # Remove old versions of elixir, when the supports fades out:
+      # https://hexdocs.pm/elixir/compatibility-and-deprecations.html
       elixir_1_7 = lib'.callElixir ../interpreters/elixir/1.7.nix {
         inherit erlang;
         debugInfo = true;
@@ -69,9 +76,6 @@ let
 
       elixir_ls = callPackage ./elixir_ls.nix { inherit elixir fetchMixDeps mixRelease; };
 
-      # Remove old versions of elixir, when the supports fades out:
-      # https://hexdocs.pm/elixir/compatibility-and-deprecations.html
-
       lfe = lfe_1_3;
       lfe_1_2 = lib'.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; };
       lfe_1_3 = lib'.callLFE ../interpreters/lfe/1.3.nix { inherit erlang buildRebar3 buildHex; };