Skip to content

Commit

Permalink
ejabberd: use beamPackages for rebar3WithPlugins (#372942)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcstephens authored Jan 13, 2025
2 parents 69930db + 85d43a1 commit 582db43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/by-name/ej/ejabberd/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
gd,
autoreconfHook,
gawk,
rebar3WithPlugins,
fetchFromGitHub,
fetchgit,
fetchHex,
beamPackages,
nixosTests,
withMysql ? false,
Expand All @@ -40,6 +38,8 @@
}:

let
inherit (beamPackages) buildRebar3 fetchHex rebar3WithPlugins;

ctlpath = lib.makeBinPath [
bash
gnused
Expand All @@ -50,7 +50,7 @@ let
procps
];

provider_asn1 = beamPackages.buildRebar3 {
provider_asn1 = buildRebar3 {
name = "provider_asn1";
version = "0.3.0";
src = fetchHex {
Expand All @@ -60,7 +60,7 @@ let
};
beamDeps = [ ];
};
rebar3_hex = beamPackages.buildRebar3 {
rebar3_hex = buildRebar3 {
name = "rebar3_hex";
version = "7.0.7";
src = fetchHex {
Expand All @@ -73,7 +73,7 @@ let

allBeamDeps = import ./rebar-deps.nix {
inherit fetchHex fetchgit fetchFromGitHub;
builder = lib.makeOverridable beamPackages.buildRebar3;
builder = lib.makeOverridable buildRebar3;

overrides = final: prev: {
jiffy = prev.jiffy.override { buildPlugins = [ beamPackages.pc ]; };
Expand Down

0 comments on commit 582db43

Please sign in to comment.