diff --git a/examples/gleam/.test.sh b/examples/gleam/.test.sh index f4c7f2c3e..47c3e43a8 100755 --- a/examples/gleam/.test.sh +++ b/examples/gleam/.test.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash set -ex +rm -rf test_proj gleam --version +gleam new test_proj +cd test_proj +gleam test \ No newline at end of file diff --git a/src/modules/languages/erlang.nix b/src/modules/languages/erlang.nix index 565855a0a..3112f46f6 100644 --- a/src/modules/languages/erlang.nix +++ b/src/modules/languages/erlang.nix @@ -17,9 +17,10 @@ in config = lib.mkIf cfg.enable { - packages = with pkgs; [ + packages = [ cfg.package - erlang-ls + pkgs.erlang-ls + pkgs.rebar3 ]; }; } diff --git a/src/modules/languages/gleam.nix b/src/modules/languages/gleam.nix index ae8f14217..2b2b96652 100644 --- a/src/modules/languages/gleam.nix +++ b/src/modules/languages/gleam.nix @@ -16,6 +16,8 @@ in }; config = lib.mkIf cfg.enable { + languages.erlang.enable = true; + packages = [ cfg.package ];