Skip to content

Commit

Permalink
Merge pull request #1635 from ankhers/fix_rebar3_erlang_version
Browse files Browse the repository at this point in the history
Fix rebar3 erlang version
  • Loading branch information
domenkozar authored Dec 7, 2024
2 parents d742321 + 29a6a29 commit c1ca697
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/languages/erlang.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

let
cfg = config.languages.erlang;
rebar3 = pkgs.rebar3.overrideAttrs (oldAttrs: {
buildInputs = [ cfg.package ];
});
in
{
options.languages.erlang = {
Expand All @@ -20,7 +23,7 @@ in
packages = [
cfg.package
pkgs.erlang-ls
pkgs.rebar3
rebar3
];
};
}

0 comments on commit c1ca697

Please sign in to comment.