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
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ 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";
|
||||
|
||||
Reference in New Issue
Block a user