Unverified Commit b38f2821 authored by Moritz 'e1mo' Fromm's avatar Moritz 'e1mo' Fromm
Browse files

ejabberd: Add awk to ejabberdctl path

ejabberdctl requires awk[^1], but it currently is not present in NixOS,
sometimes showing up as a warning/error in the logs:

```
/nix/store/jgl7b43di9qgrarirwsl1f7a1ngl8cd5-ejabberd-23.01/bin/ejabberdctl: line 219: awk: command not found
```

[^1]: https://github.com/processone/ejabberd/blob/dd2efc360b7f6371f870c56a1cf8c4a6c50b87df/ejabberdctl.template#L218
parent fd40cef8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{ stdenv, writeScriptBin, makeWrapper, lib, fetchurl, git, cacert, libpng, libjpeg, libwebp
, erlang, openssl, expat, libyaml, bash, gnused, gnugrep, coreutils, util-linux, procps, gd
, flock, autoreconfHook
, gawk
, nixosTests
, withMysql ? false
, withPgsql ? false
@@ -12,7 +13,7 @@
}:

let
  ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils util-linux procps ];
  ctlpath = lib.makeBinPath [ bash gnused gnugrep gawk coreutils util-linux procps ];
in stdenv.mkDerivation rec {
  pname = "ejabberd";
  version = "23.01";