Skip to content

Commit

Permalink
Fix #1086: fix gleam
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 13, 2024
1 parent 45796a9 commit a4eb473
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions examples/gleam/.test.sh
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions src/modules/languages/erlang.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ in

config = lib.mkIf cfg.enable
{
packages = with pkgs; [
packages = [
cfg.package
erlang-ls
pkgs.erlang-ls
pkgs.rebar3
];
};
}
2 changes: 2 additions & 0 deletions src/modules/languages/gleam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ in
};

config = lib.mkIf cfg.enable {
languages.erlang.enable = true;

packages = [
cfg.package
];
Expand Down

0 comments on commit a4eb473

Please sign in to comment.