Skip to content

Commit

Permalink
feat: upgrade to 1.17 and OTP 27
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jun 12, 2024
1 parent 2e9c45f commit ce4c9c6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
KERL_BUILD_DOCS = "yes"

[tools]
erlang = "26.2.2"
elixir = "ref:e3b6a91b173f7e836401a6a75c3906c26bd7fd39"
erlang = "27.0"
elixir = "1.17.0"
zig = "0.11.0"
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
erlang 26.2.2
elixir ref:e3b6a91b173f7e836401a6a75c3906c26bd7fd39
erlang 27.0
elixir 1.17.0
zig 0.11.0
5 changes: 3 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
forAllSystems = f:
lib.genAttrs systems (system: let
pkgs = nixpkgs.legacyPackages.${system};
beamPackages = pkgs.beam_minimal.packages.erlang_26;
beamPackages = pkgs.beam_minimal.packages.erlang_27;
otp = (pkgs.beam.packagesWith beamPackages.erlang).extend (final: prev: {
elixir_1_17 = prev.elixir_1_16.override {
rev = "e3b6a91b173f7e836401a6a75c3906c26bd7fd39";
rev = "v1.17.0";
# You can discover this using Trust On First Use by filling in `lib.fakeHash`
sha256 = "sha256-RK0aMW7pz7kQtK9XXN1wVCBxKOJKdQD7I/53V8rWD04=";
version = "1.17.0-dev";
sha256 = "sha256-RBylCfD+aCsvCqWUIvqXi3izNqqQoNfQNnQiZxz0Igg=";
version = "1.17.0";
};

elixir = final.elixir_1_17;
Expand Down
2 changes: 1 addition & 1 deletion test/next_ls/hover_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ defmodule NextLS.HoverTest do
"contents" => %{
"kind" => "markdown",
"value" =>
"## :timer.sleep/1\n\n`sleep/1`\n\nSuspends the process" <>
"## :timer.sleep/1\n\n`sleep(Time)`\n\nSuspends the process" <>
_
},
"range" => %{
Expand Down

0 comments on commit ce4c9c6

Please sign in to comment.